Simon Willison’s Weblog

Subscribe

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