> > Why allow global scope to leak into a new module? > That would require a tedious preamble for pretty much any bit of code you want to write.
How about performing free variable checking as late as possible (i.e. just
before the module body executes), giving module dependencies a chance to
polyfill the global object if they so choose?
{ Kevin }
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

