Section 24.117. Math.min( ): return the smallest argument


24.117. Math.min( ): return the smallest argument

ECMAScript v1; enhanced in ECMAScript v3

24.117.1. Synopsis

 Math.min(args...) 

24.117.1.1. Arguments

args...

Any number of arguments. Prior to ECMAScript v3, this function expects exactly two arguments.

24.117.1.2. Returns

The smallest of the specified arguments. Returns Infinity if there are no arguments. Returns NaN if any argument is NaN or is a nonnumeric value that cannot be converted to a number.




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net