The Javascript Number.MAX_SAFE_INTEGER represents the maximum safe integer.
The MAX_SAFE_INTEGER constant has a value of 9,007,199,254,740,991.
console.log(Number.MAX_SAFE_INTEGER); // 9007199254740991