ModuleImport

Kevin Smith zenparsing at gmail.com
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: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140702/ba2aaf9e/attachment.html>


More information about the es-discuss mailing list