SymbolConstructor
Value members
Concrete methods
Returns a Symbol object from the global symbol registry matching the given key if found. Otherwise, returns a new symbol with this key.
Returns a Symbol object from the global symbol registry matching the given key if found. Otherwise, returns a new symbol with this key.
- Value Params
- key
key to search for.
Returns a new unique Symbol value.
Returns a new unique Symbol value.
- Value Params
- description
Description of the new Symbol object.
Inherited methods
Concrete fields
A regular expression method that matches the regular expression against a string. Called by the String.prototype.match method.
A regular expression method that matches the regular expression against a string. Called by the String.prototype.match method.
A method that returns the default async iterator for an object. Called by the semantics of the for-await-of statement.
A method that returns the default async iterator for an object. Called by the semantics of the for-await-of statement.
A method that determines if a constructor object recognizes an object as one of the constructor’s instances. Called by the semantics of the instanceof operator.
A method that determines if a constructor object recognizes an object as one of the constructor’s instances. Called by the semantics of the instanceof operator.
A Boolean value that if true indicates that an object should flatten to its array elements by Array.prototype.concat.
A Boolean value that if true indicates that an object should flatten to its array elements by Array.prototype.concat.
A method that returns the default iterator for an object. Called by the semantics of the for-of statement.
A method that returns the default iterator for an object. Called by the semantics of the for-of statement.
A regular expression method that matches the regular expression against a string. Called by the String.prototype.matchAll method.
A regular expression method that matches the regular expression against a string. Called by the String.prototype.matchAll method.
A regular expression method that replaces matched substrings of a string. Called by the String.prototype.replace method.
A regular expression method that replaces matched substrings of a string. Called by the String.prototype.replace method.
A regular expression method that returns the index within a string that matches the regular expression. Called by the String.prototype.search method.
A regular expression method that returns the index within a string that matches the regular expression. Called by the String.prototype.search method.
A function valued property that is the constructor function that is used to create derived objects.
A function valued property that is the constructor function that is used to create derived objects.
A regular expression method that splits a string at the indices that match the regular expression. Called by the String.prototype.split method.
A regular expression method that splits a string at the indices that match the regular expression. Called by the String.prototype.split method.
A method that converts an object to a corresponding primitive value. Called by the ToPrimitive abstract operation.
A method that converts an object to a corresponding primitive value. Called by the ToPrimitive abstract operation.
A String value that is used in the creation of the default string description of an object. Called by the built-in method Object.prototype.toString.
A String value that is used in the creation of the default string description of an object. Called by the built-in method Object.prototype.toString.