Name Description Size
browser.js 0
create-value.js --- esid: sec-symbol.for description: Creation of a unique Symbol value info: | 1. Let stringKey be ? ToString(key). 2. For each element e of the GlobalSymbolRegistry List, a. If SameValue(e.[[Key]], stringKey) is true, return e.[[Symbol]]. 3. Assert: GlobalSymbolRegistry does not currently contain an entry for stringKey. 4. Let newSymbol be a new unique Symbol value whose [[Description]] value is stringKey. 5. Append the Record { [[Key]]: stringKey, [[Symbol]]: newSymbol } to the GlobalSymbolRegistry List. 6. Return newSymbol. features: [Symbol] --- 949
cross-realm.js --- esid: sec-symbol.for description: Global symbol registry is shared by all realms info: | The GlobalSymbolRegistry is a List that is globally available. It is shared by all realms. Prior to the evaluation of any ECMAScript code it is initialized as a new empty List. features: [cross-realm, Symbol] --- 742
description.js --- esid: sec-symbol.for description: Assigns the string value to the [[Description]] slot info: | 1. Let stringKey be ? ToString(key). [...] 4. Let newSymbol be a new unique Symbol value whose [[Description]] value is stringKey. [...] 6. Return newSymbol. features: [Symbol, Symbol.prototype.description] --- 623
length.js --- es6id: 19.4.2.1 description: > Symbol.for.length is 1. info: | Symbol.for ( key ) 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] --- 1062
name.js --- es6id: 19.4.2.1 description: > Symbol.for.name is "for". info: | Symbol.for ( key ) 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] --- 821
not-a-constructor.js --- esid: sec-ecmascript-standard-built-in-objects description: > Symbol.for 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] --- 870
prop-desc.js --- esid: sec-symbol.for 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] --- 643
retrieve-value.js --- esid: sec-symbol.for description: Retrieval of previously-created value info: | 1. Let stringKey be ? ToString(key). 2. For each element e of the GlobalSymbolRegistry List, a. If SameValue(e.[[Key]], stringKey) is true, return e.[[Symbol]]. 3. Assert: GlobalSymbolRegistry does not currently contain an entry for stringKey. 4. Let newSymbol be a new unique Symbol value whose [[Description]] value is stringKey. 5. Append the Record { [[Key]]: stringKey, [[Symbol]]: newSymbol } to the GlobalSymbolRegistry List. 6. Return newSymbol. features: [Symbol] --- 905
shell.js 0
to-string-err.js --- esid: sec-symbol.for description: Error resulting from string coercion of first argument info: | 1. Let stringKey be ? ToString(key). features: [Symbol] --- 567