browser.js |
|
0 |
length.js |
---
es6id: 20.2.2.12
description: >
Math.cos.length is 1.
info: |
Math.cos ( 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]
--- |
1036 |
name.js |
---
es6id: 20.2.2.12
description: >
Math.cos.name is "cos".
info: |
Math.cos ( 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]
--- |
795 |
not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
Math.cos 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.cos
description: >
"cos" 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.7_A1.js |
---
info: If x is NaN, Math.cos(x) is NaN
es5id: 15.8.2.7_A1
description: Checking if Math.cos(NaN) is NaN
--- |
309 |
S15.8.2.7_A2.js |
---
info: If x is +0, Math.cos(x) is 1
es5id: 15.8.2.7_A2
description: Checking if Math.cos(+0) is 1
--- |
352 |
S15.8.2.7_A3.js |
---
info: If x is -0, Math.cos(x) is 1
es5id: 15.8.2.7_A3
description: Checking if Math.cos(-0) is 1
--- |
352 |
S15.8.2.7_A4.js |
---
info: If x is +Infinity, Math.cos(x) is NaN
es5id: 15.8.2.7_A4
description: Checking if Math.cos(+Infinity) is NaN
--- |
326 |
S15.8.2.7_A5.js |
---
info: If x is -Infinity, Math.cos(x) is NaN
es5id: 15.8.2.7_A5
description: Checking if Math.cos(-Infinity) is NaN
--- |
327 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |