Static Module Resolution
Kevin Smith
khs4473 at gmail.com
Sat Jun 30 12:03:08 PDT 2012
>
> Just define the order of execution between ES6 and pre-ES6 to run
> legacy.js first.
>
You'd have to detect (before execution) whether a script was "ES6" or not,
which is not practical, AFAICT.
But even if you could, then simply upgrading "legacy.js" to use ES6 modules
would change the order of execution, which could cause observable
differences of behavior in the program.
- Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120630/c5b97c48/attachment.html>
More information about the es-discuss
mailing list