Kevin Smith zenparsing at
Wed Jul 2 07:32:27 PDT 2014

> The points that have been previously made about "bundling modules" also
> apply to REPLs.  If a module must be in a file, I can't easily define
> modules at a REPL prompt.

Lexical modules would give you these abilities.

    module X {
        export const whatever;

They've been deferred, and we need to make sure that ES6 modules are not
future-hostile to them.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list