Well-known Symbols
Explore how well-known symbols in ES6 allow you to interact with and customize JavaScript's internal behavior. Understand the use of Symbol as unique object identifiers and the caution needed when redefining built-ins. This lesson prepares you to use these concepts thoughtfully in your code.
We'll cover the following...
We'll cover the following...
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(). ...