2 ms·
I wish `void` would get more love for IIFEs instead of just sitting there in a dark corner of JS, unloved. var foo = 'bar' var baz = 'bletch'
by jedschmidt 12y ago
I wish `void` would get more love for IIFEs instead of just sitting there in a dark corner of JS, unloved.
var foo = 'bar'
var baz = 'bletch'
void function (global) {
//module pattern code here ...
})(this)
- Havvy 12y agoAlmost perfect, but you left an unmatched close parenthesis before the call operator.