browser.js |
|
0 |
length.js |
---
es6id: 20.2.2.28
description: >
Math.round.length is 1.
info: |
Math.round ( x )
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors, has a length
property whose value is an integer. Unless otherwise specified, this
value is equal to the largest number of named arguments shown in the
subclause headings for the function description, including optional
parameters. However, rest parameters shown using the form “...name”
are not included in the default argument count.
Unless otherwise specified, the length property of a built-in Function
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }.
includes: [propertyHelper.js]
--- |
1042 |
name.js |
---
es6id: 20.2.2.28
description: >
Math.round.name is "round".
info: |
Math.round ( x )
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]
--- |
805 |
not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
Math.round 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]
--- |
862 |
prop-desc.js |
---
esid: sec-math.round
description: >
"round" 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]
--- |
590 |
S15.8.2.15_A1.js |
---
info: If x is NaN, Math.round(x) is NaN
es5id: 15.8.2.15_A1
description: Checking if Math.round(x) is NaN, where x is NaN
--- |
330 |
S15.8.2.15_A2.js |
---
info: If x is +0, Math.round(x) is +0
es5id: 15.8.2.15_A2
description: Checking if Math.round(x) equals to +0, where x is +0
--- |
329 |
S15.8.2.15_A3.js |
---
info: If x is -0, Math.round(x) is -0
es5id: 15.8.2.15_A3
description: Checking if Math.round(x) equals to -0, where x is -0
--- |
331 |
S15.8.2.15_A4.js |
---
info: If x is +Infinity, Math.round(x) is +Infinity
es5id: 15.8.2.15_A4
description: Checking if Math.round(x) is +Infinity, where x is +Infinity
--- |
435 |
S15.8.2.15_A5.js |
---
info: If x is -Infinity, Math.round(x) is -Infinity
es5id: 15.8.2.15_A5
description: Checking if Math.round(x) is -Infinity, where x is -Infinity
--- |
435 |
S15.8.2.15_A6.js |
---
info: |
If x is equal to 0 or greater than 0, or if x is less than -0.5,
Math.round(x) is equal to Math.floor(x+0.5)
es5id: 15.8.2.15_A6
description: >
Checking if Math.round(x) is equal to Math.floor(x+0.5), where x
equals to 0, greater than 0, or is less than -0.5; this check is
performed on 2000 argument x values
--- |
1003 |
S15.8.2.15_A7.js |
---
info: |
If x is less than or equal to -0 and x is greater than or equal to -0.5,
Math.round(x) is equal to -0
es5id: 15.8.2.15_A7
description: >
`Math.round(x)` differs from `Math.floor(x + 0.5)`:
1) for values in [-0.5; -0]
2) for 0.5 - Number.EPSILON / 4
3) for odd integers in [-(2 / Number.EPSILON - 1); -(1 / Number.EPSILON + 1)] or in [1 / Number.EPSILON + 1; 2 / Number.EPSILON - 1]
--- |
1911 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |