browser.js |
|
0 |
length.js |
---
description: length property of Math.trunc
es6id: 20.2.2.35
info: |
Math.trunc ( 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]
--- |
798 |
Math.trunc_Infinity.js |
---
es6id: 20.2.2.35
author: Ryan Lewis
description: Return arg when called with Infinity or -Infinity.
--- |
413 |
Math.trunc_NaN.js |
---
es6id: 20.2.2.35
author: Ryan Lewis
description: Math.trunc should return NaN when called with NaN.
--- |
302 |
Math.trunc_NegDecimal.js |
---
es6id: 20.2.2.35
author: Ryan Lewis
description: Math.trunc should return -0 if called with a value between 0 and -1.
--- |
338 |
Math.trunc_PosDecimal.js |
---
es6id: 20.2.2.35
author: Ryan Lewis
description: Math.trunc should return 0 if called with a value between 0 and 1.
--- |
333 |
Math.trunc_Success.js |
---
es6id: 20.2.2.35
author: Ryan Lewis
description: Math.trunc should return 4578 if called with 4578.584949
--- |
344 |
Math.trunc_Zero.js |
---
es6id: 20.2.2.35
author: Ryan Lewis
description: Math.trunc should return 0 when called with 0.
--- |
311 |
name.js |
---
es6id: 20.2.2.35
description: >
Math.trunc.name is "trunc".
info: |
Math.trunc ( 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.trunc 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 |
---
description: Testing descriptor property of Math.trunc
includes: [propertyHelper.js]
es6id: 20.2.2.35
--- |
363 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |
trunc-sampleTests.js |
---
description: sample tests for trunc
es6id: 20.2.2.35
--- |
2529 |
trunc-specialVals.js |
---
description: Math.trunc with sample values.
es6id: 20.2.2.35
--- |
755 |