browser.js |
|
0 |
length.js |
---
es6id: 19.4.3.4
description: Symbol.prototype[Symbol.toPrimitive] `length` property
info: |
ES6 section 17:
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.
[...]
Unless otherwise specified, the length property of a built-in Function
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }.
features: [Symbol.toPrimitive]
includes: [propertyHelper.js]
--- |
985 |
name.js |
---
es6id: 19.4.3.4
description: Symbol.prototype[Symbol.toPrimitive] `name` property
info: |
The value of the name property of this function is "[Symbol.toPrimitive]".
ES6 Section 17:
[...]
Unless otherwise specified, the name property of a built-in Function
object, if it exists, has the attributes { [[Writable]]: false,
[[Enumerable]]: false, [[Configurable]]: true }.
features: [Symbol.toPrimitive]
includes: [propertyHelper.js]
--- |
791 |
prop-desc.js |
---
es6id: 19.4.3.4
description: Symbol.prototype[Symbol.toPrimitive] property descriptor
info: |
This property has the attributes { [[Writable]]: false, [[Enumerable]]:
false, [[Configurable]]: true }.
includes: [propertyHelper.js]
features: [Symbol.toPrimitive]
--- |
616 |
redefined-symbol-wrapper-ordinary-toprimitive.js |
---
esid: sec-symbol.prototype-@@toprimitive
description: >
If redefined to nullish value, Symbol wrapper object is converted to primitive
via OrdinaryToPrimitive.
info: |
ToPrimitive ( input [ , preferredType ] )
[...]
2. If Type(input) is Object, then
a. Let exoticToPrim be ? GetMethod(input, @@toPrimitive).
b. If exoticToPrim is not undefined, then
[...]
c. If preferredType is not present, let preferredType be number.
d. Return ? OrdinaryToPrimitive(input, preferredType).
features: [Symbol.toPrimitive]
--- |
1336 |
removed-symbol-wrapper-ordinary-toprimitive.js |
---
esid: sec-symbol.prototype-@@toprimitive
description: >
If deleted, Symbol wrapper objects is converted to primitive via OrdinaryToPrimitive.
info: |
ToPrimitive ( input [ , preferredType ] )
[...]
2. If Type(input) is Object, then
a. Let exoticToPrim be ? GetMethod(input, @@toPrimitive).
b. If exoticToPrim is not undefined, then
[...]
c. If preferredType is not present, let preferredType be number.
d. Return ? OrdinaryToPrimitive(input, preferredType).
features: [Symbol.toPrimitive]
--- |
3063 |
shell.js |
|
0 |
this-val-non-obj.js |
---
es6id: 19.4.3.4
description: Behavior when `this` value 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.toPrimitive]
--- |
981 |
this-val-obj-non-symbol-wrapper.js |
---
es6id: 19.4.3.4
description: >
Behavior when `this` value is an object without a [[SymbolData]] internal
slot
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.toPrimitive]
--- |
648 |
this-val-obj-symbol-wrapper.js |
---
es6id: 19.4.3.4
description: >
Behavior when `this` value is an object with a [[SymbolData]] internal
slot
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.toPrimitive]
--- |
709 |
this-val-symbol.js |
---
es6id: 19.4.3.4
description: Behavior when `this` value is a Symbol
info: |
1. Let s be the this value.
2. If Type(s) is Symbol, return s.
features: [Symbol.toPrimitive]
--- |
431 |