当前位置: 首页 > 工具软件 > Math_Model > 使用案例 >

Math.max()

蓝恩
2023-12-01

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.

 类似资料:

相关阅读

相关文章

相关问答