contents   index   previous   next



Number constants

Several numeric constants can be accessed as properties of the Number object, though they do not have a literal representation.

 

Constant

Value

Description

Number.MAX_VALUE

1.7976931348623157e+308

Largest number (positive)

Number.MIN_VALUE

2.2250738585072014e308

Smallest number (negative)

Number.NaN

NaN

Not a Number

Number.POSITIVE_INFINITY

Infinity

Number above MAX_VALUE

Number.NEGATIVE_INFINITY

Infinity

Number below MIN_VALUE 

 

 


Automatic type conversion