ImportSpecifierSet syntax

Axel Rauschmayer axel at
Sun Sep 8 09:04:29 PDT 2013

The problem is that you have to bite the bullet of syntactic inconvenience for either default imports or normal imports. I’d prefer the syntax you suggested, but there seem to be many people who want to make default imports as simple as possible.

Dr. Axel Rauschmayer
[Sent from a mobile device, please forgive brevity and typos]

On Sep 8, 2013, at 17:55, Erik Arvidsson <erik.arvidsson at> wrote:

> Currently ImportSpecifierSet is proposed to start with "{" and end
> with "}". This made a lot more sense when we reused the destructuring
> syntax. Now that we are using "as", these curlies look like a remnant
> from the past.
> import {a as b, c as d} from "e";
> I'm proposing we remove these curly braces, giving:
> import a as b, c as d from "e";
> Same issue applies to ExportSpecifierSet.
> -- 
> erik
> _______________________________________________
> es-discuss mailing list
> es-discuss at

More information about the es-discuss mailing list