I wrote an article on
Closures in JavaScript