The book Test-Driven JavaScript Development is great, http://tddjs.com/ . It indeed changed my thoughts on javascript, it is such a powerful dynamic language, very close to ruby, e.g. similar features like everything is object, including functions. While some other feature like hoist variable declaration, this variable scope and closure are very weird. JsTestDriver is very successful xUnit like t