Symbol

Allow us to create "hidden" properties of an object, that no other part of code can occasionally access or overwrite.

// id is a new symbol
let id = Symbol();

For unique identifiers.

Symbols are guaranteed to be unique. Even if we create many symbols with the same description, they are different values.

Symbol — Structure map

Clickable & Draggable!

Symbol — Related pages: