JS Built-ins
Symboldescriptionbeginner

Symbol() β€” description property

πŸ“– Usage Example
const sym = Symbol('hello')
sym.description   // β†’ 'hello'

The string passed to Symbol() becomes its read-only .description property.

Symbol Description

The optional string passed to Symbol() becomes its .description.

Challenge: Access the description of a Symbol.

πŸ’‘ Hints (1)
  • β€’ Access `.description` on any Symbol.