chuanxshi / javascript-patterns

JavaScript Design Patterns

Home Page:http://shichuan.github.io/javascript-patterns

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Namespace

retrohacker opened this issue · comments

Why do we use

var MYAPP = MYAPP || {};

and not a singleton pattern?