Web Tools Table Maker3schools TranslateImage CompressorFavicon Icon GeneratorCrop & Resize Image
Apu
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
Write Your Answer
loading
back
View All