Simon Willison’s Weblog

Subscribe

Another practical use for JavaScript closures. Create private methods by hiding them in a closure.

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