JavaScript has a simple object-oriented structure without any inheritance ( a major difference from Java) |
JavaScript has a rather confused syntax for defining objects, which mixes the role of class, function, and constructor! |
An object is a container with properties and methods inside it. |
Variables or other objects inside an object are called properties |
Functions inside an object are called methods |
Arrays are defined as properties inside an object |
Multidimensional arrays are arrays, which themselves have properties that are arrays |