`this` inside modules

Matthew Robb matthewwrobb at gmail.com
Thu Aug 28 11:17:44 PDT 2014


>From my interpretation of the last face to face notes and the breakout
session it would appear as if instead you will be able to `import mod from
this`


- Matthew Robb


On Thu, Aug 28, 2014 at 12:26 PM, John Barton <johnjbarton at google.com>
wrote:

> Was this decision reversed? I don't see Reflect.global in the new spec.
> online.
> jjb
>
>
> On Mon, Jun 9, 2014 at 10:08 AM, Caridy Patino <caridy at gmail.com> wrote:
>
>> My point: if 'this' is not global in modules, then ES6 must have an
>>> alternative way to name the global object.
>>>
>>
>> Yes, we covered that last week. `Reflect.global` seems like the right
>> place for it considering that it will be defined per realm.
>>
>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140828/ac918c92/attachment.html>


More information about the es-discuss mailing list