These are examples discussed in class regarding object-oriented features of JavaScript. They are not discussed in the Course Notes, but they are listed in a one-page addendum to Part 9.
Right click on the anchor and select 'Save Target As ...' to download the file.
The JavaScript file where instance properties and
instance methods are added to the prototype via the prototype
property of the prototype object
The HTML driver for the above
The JavaScript file, with behavior equivalent to
the last, but where instance properties and instance methods are
added in the constructor function definition
The HTML driver for the above