Multiple choice javascript

You work on a JavaScript project. Which of the following correctly describe the relationships of JavaScript and "objects"?

  1. JavaScript is Object-oriented

  2. JavaScript is Object-based

  3. JavaScript is Object-driven

  4. JavaScript has no relationship with objects

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

JavaScript is described as object-based rather than object-oriented because it uses prototype-based inheritance instead of classical class-based inheritance. It supports objects and methods, but lacks traditional OOP features like classes and interfaces.