"import *"

John Lenz concavelenz at gmail.com
Mon Sep 22 18:38:44 PDT 2014


ah, thanks.  That makes more sense.

On Mon, Sep 22, 2014 at 6:37 PM, Erik Arvidsson <erik.arvidsson at gmail.com>
wrote:

> import * as m from './file.js'
>
> Imports module instance object. It only creates one binding, m in the
> example above.
>
> On Mon, Sep 22, 2014 at 9:31 PM, John Lenz <concavelenz at gmail.com> wrote:
>
>> As per http://www.2ality.com/2014/09/es6-modules-final.html
>> <http://www.google.com/url?q=http%3A%2F%2Fwww.2ality.com%2F2014%2F09%2Fes6-modules-final.html&sa=D&sntz=1&usg=AFQjCNHrAwyLFF0tL0Lfh38xylgEjmgB2g>,
>> "import *" is back (but not in the spec) but I didn't see any discussion
>> about mitigating the problem of new exports breaking down stream consumers
>> (shadowing globals or creating duplicate definitions for module local
>> definitions).
>>
>> Is the post accurate? Were these issues debated?
>>
>> _______________________________________________
>> es-discuss mailing list
>> es-discuss at mozilla.org
>> https://mail.mozilla.org/listinfo/es-discuss
>>
>>
>
>
> --
> erik
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140922/62c6d9d1/attachment.html>


More information about the es-discuss mailing list