Simplest/cleanest way to implement a singleton in JavaScript
15:54 25 Sep 2009

What is the simplest/cleanest way to implement the singleton pattern in JavaScript?

javascript function design-patterns singleton