JavaScript int max
console.log(Number.MAX_SAFE_INTEGER);
// expected output: 9007199254740991
Batman
console.log(Number.MAX_SAFE_INTEGER);
// expected output: 9007199254740991
Number.MAX_VALUE;
let maxY = Number.MIN_SAFE_INTEGER, minY = Number.MAX_SAFE_INTEGER;
const num1 = 450;
const num2 = 350;
const num3 = 1000;
const maxNumber = Math.max(num1, num3, num2);
console.log("Bigger number is =", maxNumber);
//Output: Bigger number is = 1000