Javascript objects are dynamic and assigning to a property that doesn't exist is another way of creating it. So after the assignment Points[i] has its very own z property and no longer makes use of ...
JavaScript is a subtle and sophisticated language that deserves to be treated in its own right and not as a poor copy of other object-oriented languages. In the first of two explorations of how to ...