JS Built-ins
Symbolbeginner

Symbol() β€” no description is undefined

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

Without an argument, Symbol().description is undefined, not an empty string.

Symbol Without Description

When called without an argument, the Symbol's .description is undefined.

Challenge: Verify that Symbol().description is undefined.

πŸ’‘ Hints (1)
  • β€’ Calling Symbol() with no argument leaves description as undefined.