developerslogblog.wordpress.com
JavaScript: quick guide to Module pattern
In previous post have seen how to create JavaScript objects literals, we also saw how we can use those to encapsulate parts of our code, creating de facto reusable modules. But if you come from Ja…