Number.MAX_VALUE;
MAX_SAFE_INTEGER = 9007199254740991
Number.MAX_SAFE_INTEGER
let x = Math.max(1,3,45,59,698);
console.log(x); //output 698
Math.min(x1, x2,...); //Returns the minimum argument
Math.max(x1, x2,...); //Returns the maximum argument
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