browser.js |
|
0 |
length.js |
---
es6id: 19.4.3.3
description: >
Symbol.prototype.valueOf.length is 0.
info: |
Symbol.prototype.valueOf ( )
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]
features: [Symbol]
--- |
1100 |
name.js |
---
es6id: 19.4.3.3
description: >
Symbol.prototype.valueOf.name is "valueOf".
info: |
Symbol.prototype.valueOf ( )
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]
features: [Symbol]
--- |
867 |
not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
Symbol.prototype.valueOf 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, Symbol, arrow-function]
--- |
947 |
prop-desc.js |
---
esid: sec-symbol.prototype.valueof
description: Property descriptor
info: |
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]
features: [Symbol]
--- |
713 |
shell.js |
|
0 |
this-val-non-obj.js |
---
esid: sec-symbol.prototype.valueof
description: Called on a value that is neither a Symbol nor an Object
info: |
1. Let s be the this value.
2. If Type(s) is Symbol, return s.
3. If Type(s) is not Object, throw a TypeError exception.
features: [Symbol]
--- |
773 |
this-val-obj-non-symbol.js |
---
esid: sec-symbol.prototype.valueof
description: Called on an Object value that is not a Symbol object
info: |
1. Let s be the this value.
2. If Type(s) is Symbol, return s.
3. If Type(s) is not Object, throw a TypeError exception.
4. If s does not have a [[SymbolData]] internal slot, throw a TypeError exception.
features: [Symbol]
--- |
819 |
this-val-obj-symbol.js |
---
esid: sec-symbol.prototype.valueof
description: Called on a Symbol Object value
info: |
1. Let s be the this value.
2. If Type(s) is Symbol, return s.
3. If Type(s) is not Object, throw a TypeError exception.
4. If s does not have a [[SymbolData]] internal slot, throw a TypeError exception.
5. Return the value of s's [[SymbolData]] internal slot.
features: [Symbol]
--- |
708 |
this-val-symbol.js |
---
esid: sec-symbol.prototype.valueof
description: Called on a Symbol value
info: |
1. Let s be the this value.
2. If Type(s) is Symbol, return s.
features: [Symbol]
--- |
458 |