title: Simplest/cleanest way to implement a singleton in JavaScript
body: <p>What is the simplest/cleanest way to implement the <a href="https://en.wikipedia.org/wiki/Singleton_pattern" rel="noreferrer">singleton pattern</a> in JavaScript?</p>