by quag · 15y ago · 0 comments
Good point, that isn't immediately clear.
To help me understand, the article listed an example where a line started with a [, what are situations where a line is likely to start with (+/-,.* ?
(function () {
}());
I'm not sure I would use this much, though now that you have pointed it out, I had better well be able to read it when somebody else does it to me. Thanks, I think.
http://www.adequatelygood.com/2010/3/JavaScript-Module-Patte...
It's an interesting language, but I'm still at the dabbling stage. I'd like to think I'm past the voodoo stage (onfoo="whack()" attributes that call in-page functions with global variables), but maybe not.