Single Choice Easy

QWhich of the following is a valid JavaScript primitive data type for storing whole numbers?

ID: #21471 Data Types Introduction 99 views
Question Info
#21471Q ID
EasyDifficulty
Data Types IntroductionTopic

Choose the Best Option

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

  • A String
  • B Boolean
  • C Number
  • D Array
Correct Answer

Explanation

The "Number" primitive data type in JavaScript is used for storing numeric values, including whole numbers and decimals. It is suitable for handling mathematical operations and representing quantities with precision.

Share This Question

Challenge a friend or share with your study group.