Symbol
Symbol
lives in the global scope
every Symbol()
is unique
every Symbol()
is unique, also with the same parameter
typeof Symbol()
returns "symbol"
new Symbol()
throws an exception, to prevent creation of Symbol wrapper objects
Related Katas
Symbol
- basics
Symbol.for()
Symbol.keyFor()
Difficulty Level
INTERMEDIATE
First Published
5 May 2015
Stats
5 tests to solve