On Wed, Jul 10, 2013 at 7:40 PM, Sam Tobin-Hochstadt <[email protected]>wrote:

> On Wed, Jul 10, 2013 at 7:24 PM, Rick Waldron <[email protected]>
> wrote:
> >
> > It gets created nowhere,
>
> This is right.
>
> > because the body of a module is implicitly strict,
>
> And this is right.
>
> > so the above code produces a Reference Error.
>
> But this is incorrect, because modules check that their bodies don't
> have free variables, so the above code has a _static_ error.
>

Thanks for the correction, I based my response on Appendix C of ES5.1,
which of course doesn't know anything about module bodies ;)

Rick


>
> Sam
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to