Symbols

Learn the new data type introduced by ES2015 - symbols. Learn how to use its creating function and its values.

The symbol is an entirely new data type introduced in ES2015. It’s primitive, like numbers and strings. Its behavior is quite odd and it serves a small use case. Let’s dive right in.

Get hands-on with 1200+ tech skills courses.