InterviewSolution
| 1. |
What Is Javascript Objects? |
|
Answer» JavaScript is an Object Oriented Programming (OOP) language. A programming language can be called object-oriented if it provides four basic capabilities to developers −
OBJECTS are COMPOSED of attributes. If an attribute contains a function, it is considered to be a method of the object, otherwise the attribute is considered a property. JavaScript is an Object Oriented Programming (OOP) language. A programming language can be called object-oriented if it provides four basic capabilities to developers − Objects are composed of attributes. If an attribute contains a function, it is considered to be a method of the object, otherwise the attribute is considered a property. |
|