`this` inside modules
zenparsing at gmail.com
Mon Jun 9 09:17:42 PDT 2014
> Just another related issue: in Traceur code we use 'this' in modules to
> mean 'global', because in modules we have no other way to say 'global' in
> code designed to work in browsers and node.
Right - I do the same. I think leaving "this" to mean global would be just
fine: there's no obvious advantage to changing this aspect of the design,
this late in the game. And if there's no obvious advantage, then we're
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss