Does anyone see any problems with the following code block for creating a singleton?
Singleton = {
    getInstance : function() {
        if (Singleton._instance)
            return Singleton._instance;
        Singleton._instance = new function() {
            //create object here
        };
        return Singleton._instance;
    }
};
 
     
     
    