JavaScript Data Types Introduction Question #21474
Single Choice Easy

QWhat does the JavaScript "boolean" primitive data type represent?

ID: #21474 Data Types Introduction 106 views
Question Info
#21474Q ID
EasyDifficulty
Data Types IntroductionTopic

Choose the Best Option

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

  • A Textual information
  • B Numeric values
  • C True or false values
  • D Objects and arrays
Correct Answer

Explanation

The "boolean" primitive data type in JavaScript is used to represent logical values, specifically true or false. It is essential for making decisions and controlling the flow of a program through conditional statements.

Share This Question

Challenge a friend or share with your study group.