JS Built-ins
Symboldescriptionbeginner

Symbol.description β€” undefined when no arg

πŸ“– Usage Example
const s = Symbol()
s.description   // β†’ undefined

Calling Symbol() without an argument leaves .description as undefined.

Symbol() Without Description

When no argument is passed to Symbol(), .description is undefined.

Challenge: Verify the result.

πŸ’‘ Hints (1)
  • β€’ No argument means no description β€” it will be undefined.