15.8.2.11-1.js |
---
es5id: 15.8.2.11-1
description: Math.max({}) is NaN
--- |
260 |
browser.js |
|
0 |
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]
--- |
833 |
Math.max_each-element-coerced.js |
---
esid: sec-math.max
description: Call ToNumber on each element of params
info: |
2. For each element arg of args, do
Let n be ? ToNumber(arg).
Append n to coerced.
--- |
496 |
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]
--- |
820 |
not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
Math.max does not implement [[Construct]], is not new-able
info: |
ECMAScript Function Objects
Built-in function objects that are not identified as constructors do not
implement the [[Construct]] internal method unless otherwise specified in
the description of a particular function.
sec-evaluatenew
...
7. If IsConstructor(constructor) is false, throw a TypeError exception.
...
includes: [isConstructor.js]
features: [Reflect.construct, arrow-function]
--- |
854 |
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]
--- |
580 |
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
--- |
377 |
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
--- |
1344 |
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
--- |
634 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |
zeros.js |
---
esid: sec-math.max
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.
--- |
723 |