`this` inside modules

Caridy Patino caridy at gmail.com
Mon Jun 9 10:08:15 PDT 2014


>
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140609/9ee52487/attachment.html>


More information about the es-discuss mailing list