Single import from modules without default export

Kevin Smith zenparsing at gmail.com
Wed Aug 6 04:04:41 PDT 2014


>
>
> It would be great if we could have single export modules without using the
> `default` keyword to mark the exported binding as being special. One way to
> do this is for method A (import without curly braces) to import the first
> exported binding from the module, no matter how many named bindings the
> module has.
>

Better yet, just get rid of the "default" business which (apparently) has
no rational basis only adds clutter and confusion to the language core.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140806/d22f339c/attachment.html>


More information about the es-discuss mailing list