Symbols
ES6 introduced a new type of primitive, `Symbols`, let's learn what they are and how to use them
We'll cover the following
ES6 added a new type of primitive called Symbols. What are they? And what do they do?
The unique property of Symbols #
Symbols are always unique and we can use them as identifiers for object properties.
Let’s create a Symbol
together:
Get hands-on with 1200+ tech skills courses.