ES6 - Number.MIN_SAFE_INTEGER


Advertisements


The Number.MIN_SAFE_INTEGER constant represents the minimum safe integer in JavaScript (-(2^ 53 - 1)). The MIN_SAFE_INTEGER constant has a value of 9007199254740991.

Syntax

var val = Number.MIN_SAFE_INTEGER;

Example

var val = Number.MIN_SAFE_INTEGER; 
console.log("Value of Number. MIN_SAFE_INTEGER: " + val );  

Output

Value of Number. MIN_SAFE_INTEGER: -9007199254740991

es6_number.htm

Advertisements