Using Javascript

Javascript is an object-oriented programming language which - when combined with HTML - enables client-side interactive functionality within almost all modern web browsers.

We'll be using the Javascript shell included with Rhino as an interactive environment in which to experiment. Rhino is available at https://developer.mozilla.org/en/RhinoDownload. On Mac OS X, you might prefer to use Homebrew:

> brew install rhino

Functions

...

Every function is itself an object, and every function object has an 'arguments' attribute which enables variable number of arguments

Unit Testing

Classes and Objects, Objects and Classes

TODO - Summarize the contents of http://nefariousdesigns.co.uk/archive/2006/05/object-oriented-javascript/ with code examples.

Javascript Event Handlers

Javascript and the DOM