browser.js |
|
0 |
length.js |
---
es6id: 19.4.3.2
description: >
Symbol.prototype.toString.length is 0.
info: |
Symbol.prototype.toString ( )
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]
--- |
1103 |
name.js |
---
es6id: 19.4.3.2
description: >
Symbol.prototype.toString.name is "toString".
info: |
Symbol.prototype.toString ( )
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]
--- |
872 |
not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
Symbol.prototype.toString 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]
--- |
951 |
prop-desc.js |
---
esid: sec-symbol.prototype.tostring
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]
--- |
718 |
shell.js |
|
0 |
toString-default-attributes-non-strict.js |
---
es6id: 19.4
description: >
Symbol property get and set, non-strict
flags: [noStrict]
features: [Symbol]
--- |
585 |
toString-default-attributes-strict-strict.js |
---
es6id: 19.4
description: >
Symbol property get and set, strict
flags: [onlyStrict]
features: [Symbol]
--- |
442 |
toString.js |
---
es6id: 19.4.3.2
description: >
toString operations on Symbols
features: [Symbol]
--- |
776 |
undefined.js |
---
esid: sec-symbol-constructor
description: The value "undefined" is reported as the empty string
info: |
1. If NewTarget is not undefined, throw a TypeError exception.
2. If description is undefined, let descString be undefined.
2. Else, let descString be ? ToString(description).
3. Return a new unique Symbol value whose [[Description]] value is
descString.
19.4.3.2.1 Runtime Semantics: SymbolDescriptiveString
1. Assert: Type(sym) is Symbol.
2. Let desc be sym's [[Description]] value.
3. If desc is undefined, let desc be the empty string.
4. Assert: Type(desc) is String.
5. Return the result of concatenating the strings "Symbol(", desc, and ")".
features: [Symbol]
--- |
1041 |