Single Choice Easy

QHow is the JavaScript "symbol" primitive data type unique?

ID: #21475 Data Types Introduction 138 views
Question Info
#21475Q ID
EasyDifficulty
Data Types IntroductionTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A It represents textual information
  • B It is immutable and unique
  • C It holds numeric values
  • D It denotes a deliberate absence of any object value
Correct Answer

Explanation

The "symbol" primitive data type in JavaScript is unique and immutable, making each symbol distinct. It is often used for creating unique identifiers in objects and preventing unintended modifications.

Share This Question

Challenge a friend or share with your study group.