...

/

Well-known Symbols

Well-known Symbols

name clashes occurring in objects and how to avoid them using Symbols

When using symbols as identifiers for objects, we don’t have to set up a global registry of available identifiers. We also save the creation of a new identifier, as all we need to do is create a Symbol(). ...