- It always return a unique value.
- A symbol value may be used as an identifier for object properties.
- Like numbers or strings, Symbols are also immutable.
description: It represents the symbol description.
Use: To find out the existing symbol in a runtime-wide symbol registry with the provided key.
Use: To search for the key of the global symbol.
Use: To retrieve a string representation of an object.
It is used to check if a constructor object recognizes an object as its instance or not.
It is used to check if an object is flattened to its array elements.
It is used to check the match of a regular expression against a string.
It represents the Symbol constructor’s prototype.
It is used to replace the matched sub strings of a string.
it returns the index within a string that matches the regular expression.
It is used to splits a string at the indices that match a regular expression.
It creates the default string description of an object.
An object value of whose property names are excluded from the with environment.