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