JavaScript Data Types Introduction Question #21472
Single Choice Easy

QWhat is the purpose of the JavaScript "null" primitive data type?

ID: #21472 Data Types Introduction 124 views
Question Info
#21472Q ID
EasyDifficulty
Data Types IntroductionTopic

Choose the Best Option

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

  • A Represents an undefined value
  • B Denotes a deliberate absence of any object value
  • C Holds boolean values
  • D Stores textual data
Correct Answer

Explanation

The "null" primitive data type in JavaScript is used to explicitly indicate the absence of any object value. It is often assigned to variables to represent a deliberate lack of value or the intentional absence of an object.

Share This Question

Challenge a friend or share with your study group.