Math.min Function (JavaScript)

Returns the lesser of zero or more supplied numeric expressions.

Math.min([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.POSITIVE_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. See Version Information.

Applies To: Math Object (JavaScript)