3 ms·
Unique (derived) tokens that are not equal to any other value. For example, symbols let you implement a map data structure without having to worry about shadow
by pluma 12y ago
Unique (derived) tokens that are not equal to any other value.
For example, symbols let you implement a map data structure without having to worry about shadowing built-in properties of the object.
- ksherlock 12y agoIf you have Symbols, you also have Map and WeakMap which don't have that problem.