Quantcast
Channel: Prasad Honrao » Features
Viewing all articles
Browse latest Browse all 4

ECMAScript 2015 Goodies – Part 3 – Binary and Octal Number Literals

$
0
0
This is the third article in ECMAScript 2015 Goodies. In the earlier articles we covered new keywords in the language – let and const, which allows you to define a true block level variable and a constant respectively in the program. In this article, we will cover two additional number literals introduced in the language – binary and octal. These new number literals helps you to easily identify the different types of numbers [binary, octal, hex, decimal] as they are prefix with specific value. The primary reason for adding these two literals in the language was a decimal literal in...

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images