Which of the following is not a primitive data type in JavaScript?
- boolean
- number
- object
- string
In JavaScript, object is not a primitive data type. It is a complex data type used to store collections of key-value pairs. The primitive data types are number, boolean, and string.
Loading...
Related Quiz
- Which HTTP method is typically used for creating a new resource in a RESTful API?
- Which JavaScript framework is widely used for building scalable and maintainable web applications, featuring two-way data binding?
- _______ is a software development approach that emphasizes the iterative development and delivery of working software.
- You're designing a responsive website. Which CSS technique would you use to ensure the layout adjusts according to the screen size?
- What are the differences between the Observer and Publisher-Subscriber design patterns?