ES6 - Number.MAX_SAFE_INTEGER


Advertisements

This property represents the maximum safe integer in JavaScript i.e. (2^ 53 - 1)

Example

var interval = Number.MAX_SAFE_INTEGER
console.log(interval)

Output

9007199254740991
Advertisements