Simon Willison’s Weblog

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