On 9 December 2012 02:10, Kevin Smith <[email protected]> wrote:
>
> So if you didn't set the anonymous binding in some module "x.js", what would
> this do:
>
>     import x from "x.js";
>
> Would x be bound to the module instance or would we get a binding error?

Since it is just sugar, and supposed to be equivalent to the
expansion, you (fortunately) would get an error (statically).

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

Reply via email to