. . . "gree on this point but JavaScript is all about functions.I understand the require approach does not need a closure to surround the whole module, being this already somehow sandboxed, but cross platform code and private functions or variables are really common in JS so that a module may be entirely written inside a closure.A closure is a function so as long as this point is flexible is fine to me," .