Question · JavaScript and TypeScript course · Module 2: Functions, Arrays and Objects

Symbol Data Type

What is the main characteristic of the Symbol type in JavaScript?

Answer options

  • Symbol can be converted to a number
  • Symbol is the same as String
  • Symbol can only be used with numbers
  • Every Symbol is unique
Show the answer

Correct answer:

  • Every Symbol is unique