developerslogblog.wordpress.com
JavaScript: quick guide to the Revealing module pattern
The revealing module pattern is a variation of the module pattern in which we declare ALL methods inside the function private scope, and we return an object with pointers to the methods that we wa…