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