The singleton pattern limits the number of instances of a particular object to just one. This single instance is called the singleton. defines getInstance() which returns the unique instance. responsible for creating and managing the instance object. The singleton object is implemented as an immediate anonymous function. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.