ImportSpecifierSet syntax

Erik Arvidsson erik.arvidsson at
Sun Sep 8 08:55:13 PDT 2013

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.


More information about the es-discuss mailing list