1 | Java classes and instances are distinct |
2 | A Java class has zero or more constructors |
3 | Java property inheritance follows class hierarchy |
4 | In Java, no way to add properties at run-time |
5 | JS object definition and constructor are identical and defined like methods |
6 | JavaScript property inheritance follows prototype chain |
7 | JavaScript properties may be added or removed at run-time |
8 | So essentially in JS, class structure is totally dynamic (a.k.a. Ill defined) |