Section 24.116. Math.max( ): return the largest argument


24.116. Math.max( ): return the largest argument

ECMAScript v1; enhanced in ECMAScript v3

24.116.1. Synopsis

 Math.max(args...) 

24.116.1.1. Arguments

args...

Zero or more values. Prior to ECMAScript v3, this method expects exactly two arguments.

24.116.1.2. Returns

The largest of the arguments. Returns -Infinity if there are no arguments. Returns NaN if any of the arguments 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