15.8.2.12-1.js |
---
es5id: 15.8.2.12-1
description: Math.min({}) is NaN
--- |
260 |
browser.js |
|
0 |
length.js |
---
esid: sec-math.min
description: >
"length" property of Math.min
info: |
Math.min ( 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.min_each-element-coerced.js |
---
esid: sec-math.min
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.25
description: >
Math.min.name is "min".
info: |
Math.min ( 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.min 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.min
description: >
"min" 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]
--- |
578 |
S15.8.2.12_A1.js |
---
info: If no arguments are given, Math.min() is +Infinity
es5id: 15.8.2.12_A1
description: Checking if Math.min() equals to +Infinity
--- |
377 |
S15.8.2.12_A2.js |
---
info: If any value is NaN, the result of Math.min is NaN
es5id: 15.8.2.12_A2
description: >
The script tests Math.min giving 1, 2 and 3 arguments to the
function where at least one of the arguments is NaN
--- |
1355 |
S15.8.2.12_A4.js |
---
info: The length property of the Math.min method is 2
es5id: 15.8.2.12_A4
description: Checking if Math.min.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.min
description: >
+0 is considered to be larger than -0
info: |
Math.min ( value1, value2 , …values )
The comparison of values to determine the smallest value is done using the
Abstract Relational Comparison algorithm except that +0 is considered to be
larger than -0.
--- |
727 |