1.
Which of the following is not a basic data type in JavaScript?
NaN
undefined
null
Object
Correct: D
While strings, numbers, booleans, NaN (Not a Number), undefined, and null are considered basic data types in JavaScript, objects are not. Objects are complex data types that can hold multiple values and are made up of key-value pairs.
1 / 32