Number

Numbers are a type of Primitive Value

*No distinctions between Integer and Float`

They are both number type

typeof 3 === "number"
typeof 3.2 === "number"

Decimal Number Syntax

console.log( 123 )
console.log( 123. )
console.log( 123.0 )
console.log( 123.45 )

Hexadecimal Notation

// hexadecimal notation
console.log( 0xff )
// 255

Binary Notation

// binary
console.log( 0b11 )
// 3

Scientific Notation

// scientific notation
console.log( 9e2 )
// 900

Number Separator

Numbers can have separator lowline _ between digits

1_000 === 1000