Apu
February 05, 2023 ›
#Javascript
›
#Q&A
❌
Which of the following is not a primitive data type in JavaScript?
- A) String
- B) Object
- C) Array
- D) Number
Answer: B) Object
Explanation: Primitive data types in JavaScript are types that are not objects and do not possess properties and methods. JavaScript includes the following primitive data types: string, number, boolean, undefined, and null. An object is a data type that is composed of a collection of named values called properties or methods.
save
listen
AI Answer
Which of the following is not a primitive data type in JavaScript?
0
A) String B) Object C) Array D) Number Answer: B) Object Explanation: Primitive data types in …
asked
Apu
0 answers
2915
A) String B) Object C) Array D) Number Answer: B) Object Explanation: Primitive data types in …
Answer Link
answered
Apu