Module Comments

Kevin Smith khs4473 at
Sat Dec 8 17:10:32 PST 2012

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?

For module naming, we'd need to have a different syntax. In earlier
> versions of the proposal that was
>   module x at "url"


    import module x from "url";

Has a nice ring.

- Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list