JavaScript int max
console.log(Number.MAX_SAFE_INTEGER);
// expected output: 9007199254740991
Batman
console.log(Number.MAX_SAFE_INTEGER);
// expected output: 9007199254740991
let maxY = Number.MIN_SAFE_INTEGER, minY = Number.MAX_SAFE_INTEGER;