Share via


max Method (JScript 5.6) 

Returns the greater of zero or more supplied numeric expressions.


Math.max([number1[, number2[. . . [, numberN]]]]) 

Remarks

The optional number1, number2, . . ., numberN arguments are numeric expressions to be evaluated.

If no arguments are provided, the return value is equal to NEGATIVE_INFINITY. If any argument is NaN, the return value is also NaN.

Requirements

Version 1

Applies To: Math Object (JScript 5.6)

See Also

Reference

min Method (JScript 5.6)
NEGATIVE_INFINITY Property (JScript 5.6)