Simon Willison’s Weblog

Subscribe

Closures and executing JavaScript on page load. I’ve tried to explain closures on my SitePoint blog, using addLoadEvent() as an example.