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.

Recent articles

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe