import script --> .esm

Kevin Smith zenparsing at gmail.com
Wed Sep 10 10:01:19 PDT 2014


>
>
> But why?
>
> To be completely serious. Why do we have to make a difference?
>

Because we have implicit module bodies, which have different
variable-scoping and strict-mode semantics than regular scripts.  The
alternative would have been boilerplate in every module forever.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140910/ca2c81b8/attachment.html>


More information about the es-discuss mailing list