John Barton wrote:
The Script goal disallows 'import' and 'export' specifically to ensure that the Script goal is inconvenient for developers and thus they are encouraged to shift to the Module goal.
No, that's not the rationale. The reason is to avoid enabling more synchronous <script src=>-style jank. We have enough of that already with the existing attractive nuisance (script src= w/o async), per Steve Souders.
/be _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss