- A10
- B15
- CUndefined
- DError
Time Taken:
Correct Answer:
Wrong Answer:
Percentage: %
15
22
22
33
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.
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.
The "typeof" operator in JavaScript returns the string "undefined" when applied to a variable of the "undefined" primitive data type. It is a tool for dynamically determining the type of a given variable.