Muhammad Hasnain
Hasnain's Blog

Hasnain's Blog

Design Pattern: Singleton - Probably the easiest explanation!

Aug 17, 20212 min read

Table of Contents What is Singleton? Implementation. When to Use? An Anti-pattern? What is Singleton? Singleton is a design pattern that falls under the category of creational design patterns. Creational design patterns are associated with the simp...

Dynamic Module Pattern for JavaScript