Category: private properties

ES6 in Action: Symbols and Their Uses

While ES2015 has introduced many language features that have been on developers’ wish lists for some time, there are some new features that are less well known and understood, and the benefits of which are much less clear — such as symbols. The symbol is a new primitive type, a unique token that’s guaranteed neve...