Single import from modules without default export

Kevin Smith zenparsing at
Wed Aug 6 04:02:31 PDT 2014

>  * The name of the imported binding is decided by the user of the module,
> not the author
>  * The user of the module does not need to know the name of the exported
> binding, set by the author of the module.

If you seriously want to make these claims, you need to respond to .

> I therefore want to propose that the default keyword is removed, that only
> named bindings are allowed when exporting in a module, and that method A
> imports the first named binding.

That would mean that simply moving a function definition around within a
module would break clients.  Ouch!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list