Namespace
retrohacker opened this issue · comments
William Blankenship commented
Why do we use
var MYAPP = MYAPP || {};
and not a singleton pattern?
JavaScript Design Patterns
retrohacker opened this issue · comments
Why do we use
var MYAPP = MYAPP || {};
and not a singleton pattern?