Hello everybody,
today I want to propose you interesting comparison of two design patterns in javascript. As you probably know, javascript doesn't have idea of public and private members. So in order to implement them some tricks are used. That is module and "revealing module".
Take a look...