JS Built-ins
SymboltoStringbeginner

Symbol.toString() β€” no description gives 'Symbol()'

πŸ“– Usage Example
Symbol().toString()   // β†’ 'Symbol()'

A symbol without a description stringifies to 'Symbol()' with empty parentheses.

Symbol().toString()

A symbol without a description stringifies to "Symbol()".

Challenge: Verify the output for Symbol().

πŸ’‘ Hints (1)
  • β€’ Without a description, the parentheses are empty.