Module Pattern

Posted by moodyharsh on 2016-06-30

For nodejs,

1
2
3
exports.thingy = function (x, y, z) {
...
};

For browsers,