Skip to content

Symbols

A Symbol is a unique, immutable primitive value used as object property keys. Every symbol is guaranteed to be unique, even if they have the same description.

  • Create symbols with Symbol() and Symbol.for()
  • Use symbols as property keys
  • Understand well-known symbols
  • Know when to use symbols
TopicDescriptionEst. Time
Creating SymbolsSymbol(), Symbol.for(), Symbol.keyFor()10 min
Well-Known SymbolsSymbol.iterator, Symbol.toPrimitive, etc.15 min
  • Objects and property keys
  • Basic understanding of iteration
  • Property enumeration (Object.keys, for…in)
Creating Symbols → Well-Known Symbols