ModuleImport

David Herman dherman at mozilla.com
Thu Jun 19 02:19:53 PDT 2014


On Jun 19, 2014, at 2:03 AM, Axel Rauschmayer <axel at rauschma.de> wrote:

> Does the proposed syntax clash with `export * FromClause` (which, I’m assuming, re-exports everything, not just the named exports)?

No inconsistency; it imports everything. Exactly the same semantics as always, just a change in surface syntax. Remember that the module instance object contains all named exports, but the default export is simply an export with the name `default`.

Dave



More information about the es-discuss mailing list