creates a single instance of an object or module that can be accessed in any module
Parameter | Type | Description |
---|---|---|
name | String / Number | the unique name of the Singleton |
duplicate the Singleton
Parameter | Type | Description |
---|---|---|
name | String / Nunber | the name of the new Singleton |
destroy this Singleton
String
reference to the name of the Singleton
Object
reference to the name of the instance