Q. Which of the following is correct about JavaScript?
β
Correct Answer: (A)
JavaScript is an Object-Based language
Explanation: Although JavaScript is not an OOP (Object-Oriented Programming) language like Java or PHP, it is object based language. The standard threesome of polymorphism, encapsulation, and inheritance are the criteria for object orientation, and JavaScript fails to meet them.