JavaScript Design Pattern - Singleton Pattern
✅ Common Pattern of the Recurring Problem
Sometimes a program has to restrict the number of instances of a class to one, where
* an instantiation is costly (e.g. DB connection)
* or a single object has to coordinate other objects across a system (e.g. config object)
✅ Solution
Singleton pattern restricts