>
>
> 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.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to