The secret art of agile javascripting

How do you test your Javascript? Which patterns and techniques you need to adopot to have a javascript layer that is testable and easy to maintain?

This talk was presented at XP2010.

Slides