| 15.8.2.11-1.js |
---
es5id: 15.8.2.11-1
description: Math.max({}) is NaN
--- |
238 |
- |
| length.js |
---
esid: sec-math.max
description: >
"length" property of Math.max
info: |
Math.max ( value1, value2, ...values )
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors, that is not
identified as an anonymous function has a name property whose value
is a String.
Unless otherwise specified, the name property of a built-in Function
object, if it exists, has the attributes { [[Writable]]: false,
[[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
--- |
856 |
- |
| name.js |
---
es6id: 20.2.2.24
description: >
Math.max.name is "max".
info: |
Math.max ( value1, value2 , …values )
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors, that is not
identified as an anonymous function has a name property whose value
is a String.
Unless otherwise specified, the name property of a built-in Function
object, if it exists, has the attributes { [[Writable]]: false,
[[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
--- |
837 |
- |
| prop-desc.js |
---
esid: sec-math.max
description: >
"max" property of Math
info: |
Section 17: Every other data property described in clauses 18 through 26
and in Annex B.2 has the attributes { [[Writable]]: true,
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
includes: [propertyHelper.js]
--- |
558 |
- |
| S15.8.2.11_A1.js |
---
info: If no arguments are given, Math.max() is -Infinity
es5id: 15.8.2.11_A1
description: Checking if Math.max() equals to -Infinity
--- |
366 |
- |
| S15.8.2.11_A2.js |
---
info: If any value is NaN, the result of Math.max is NaN
es5id: 15.8.2.11_A2
description: >
The script tests Math.max giving 1, 2 and 3 arguments to the
function where at least one of the arguments is NaN
--- |
1322 |
- |
| S15.8.2.11_A4.js |
---
info: The length property of the Math.max method is 2
es5id: 15.8.2.11_A4
description: Checking if Math.max.length property is defined and equals to 2
--- |
633 |
- |
| zeros.js |
---
esid: sec-math.max
es6id: 20.2.2.24
description: >
+0 is considered to be larger than -0
info: |
Math.max ( value1, value2 , …values )
The comparison of values to determine the largest value is done using the
Abstract Relational Comparison algorithm except that +0 is considered to be
larger than -0.
--- |
718 |
- |