🔺Symbol
JS ⟩ value ⟩ primitive ⟩ symbol
returns a primitive value that's guaranteed to be unique.
Symbols
only used as (computed) property names.❗
are primitive values, not objects, Symbol() is not a constructor.❗
can't invoke with new❗
Last updated
JS ⟩ value ⟩ primitive ⟩ symbol
returns a primitive value that's guaranteed to be unique.
Symbols
only used as (computed) property names.❗
are primitive values, not objects, Symbol() is not a constructor.❗
can't invoke with new❗
Last updated