O'Reilly logo
  • You Wang thinks this is interesting:

Modules are used to mimic classes and focus on public and private access to variables and functions.

From

Cover of JavaScript : Object-Oriented Programming

Note

variables in modules can't be accessed by outter scope, but methods can.