import script --> .esm

Kevin Smith zenparsing at
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: <>

More information about the es-discuss mailing list