browser.js |
|
0 |
length.js |
---
es6id: 20.2.2.27
description: >
Math.random.length is 0.
info: |
Math.random ( )
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]
--- |
1043 |
name.js |
---
es6id: 20.2.2.27
description: >
Math.random.name is "random".
info: |
Math.random ( )
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]
--- |
808 |
not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
Math.random 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]
--- |
866 |
prop-desc.js |
---
esid: sec-math.random
description: >
"random" 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]
--- |
587 |
S15.8.2.14_A1.js |
---
info: |
Math.random() returns a number value with positive sign, greater than or
equal to 0 but less than 1
es5id: 15.8.2.14_A1
description: >
Checking if Math.random() is a number between 0 and 1, calling
Math.random() 100 times
--- |
740 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |