detecting JS language mode for tools

Brendan Eich brendan at mozilla.com
Tue Jan 28 11:08:51 PST 2014


Erik Arvidsson wrote:
>
>     Note no "module" form in ES6.
>
>
> module M from './path/to/module';
>
> is a valid ModuleItem.

Ah, right. I thought John meant module M {...}. Thanks!

/be


More information about the es-discuss mailing list