Tag: Revealing Module Pattern
-
Revealing Module Pattern in JavaScript
We talked about Prototype Pattern in previous posts. You can read them at below link. Understanding Prototype Pattern in JavaScript Understanding Prototype Pattern in JavaScript: Part # 2 Revealing Module Pattern allows us to achieve Singleton object Private Public behaviour of functions and properties in the object. Let us consider the usual code we write.…