by b_hell_t · 11y ago · 0 comments
var foo = 'bar',
baz = 'bletch'
(function (global) {
//module pattern code here ...
})(this);
then you have trouble. Semicolons are not optional (meaning always optional, you can leave them out at will). Please read my blog post. var foo = 'bar'
var baz = 'bletch'
void function (global) {
//module pattern code here ...
})(this)Now is:
module.exports = function(){};