In Javascript, Math is a built-in object that has properties and methods for mathematical constants and functions. max() and min() are static methods of Math, you always use it as Math.max(), Math.min() The number arguments that min and max methods can take are zero or more 1 2 Math.max([value1[, value2[, …]]]) Math.min([value1[, value2[, …]]])Math.max([value1[, value2[, […]

Read More →