Math.max Function (JavaScript)
JavaScript - Internet Explorer 10
Returns the larger of a set of supplied numeric expressions.
Math.max([number1[, number2[... [, numberN]]]])
The optional number1, number2, ..., numberN arguments are numeric expressions to be evaluated.
If no arguments are provided, the return value is equal to Number.NEGATIVE_INFINITY. If any argument is NaN, the return value is also NaN.
Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards. Also supported in Windows Store apps. See Version Information.