The entire development community probably already knows about
this, but I just discovered that an Open Source unit testing
framework exists for JavaScript. The framework is
JsUnit and it is a port from
JUnit. If you find yourself doing extensive work with JavaScript,
you may find JsUnit
quite useful.