ModuleImport
Mark Volkmann
r.mark.volkmann at gmail.com
Thu Jun 26 09:25:59 PDT 2014
On Thu, Jun 26, 2014 at 9:50 AM, Russell Leggett <russell.leggett at gmail.com>
wrote:
>
>>> To me, though, that goes back to the destructuring/not destructuring
> aspect. Maybe this has floated by during the bikeshedding, but why not
> something like:
>
> //import a single named export
> import foo from "bar";
>
> //import multiple named exports
> import foo, baz from "bar";
>
> //alias an imported named export
> import foo as fooAlias from "bar";
>
> //import the module
> import "bar" as bar;
>
> So basically, just get rid of the {} for importing named exports, and move
> the whole module import after the as.
>
Yes! I would SO much happier with this if the curly braces were removed.
--
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140626/e762d646/attachment.html>
More information about the es-discuss
mailing list