is a unique and immutable data type. It may be used as an identifier for object properties. The
is an implicit object wrapper for the symbol
primitive data type
method searches for existing symbols in a runtime-wide symbol registry with the given key and returns it if found. Otherwise a new symbol gets created in the global symbol registry with this key.
well-known symbol is used to configure if an object should be flattened to its array elements when using the
well-known symbol specifies the default iterator for an object. Used by
method retrieves a shared symbol key from the global symbol registry for the given symbol.
well-known symbol specifies the matching of a regular expression against a string. This function is called by the
property represents the prototype for the
well-known symbol specifies the method that replaces matched substrings of a string. This function is called by the
well-known symbol specifies the method that returns the index within a string that matches the regular expression. This function is called by the
well-known symbol specifies a function valued property that is the constructor function that is used to create derived objects.
well-known symbol specifies the method that splits a string at the indices that match a regular expression. This function is called by the
is a symbol that specifies a function valued property that is called to convert an object to a corresponding primitive value.
method returns a string representing the source code of the object.
well-known symbol is used to specify an object value of whose own and inherited property names are excluded from the
environment bindings of the associated object.
method converts a Symbol object to a primitive value.
well-known symbol is used to determine if a constructor object recognizes an object as its instance. The
operator behavior can be customized by this symbol.
method returns a string representing the specified
method returns the primitive value of a Symbol object.