Putting `global` reference in specs

Brendan Eich brendan at mozilla.org
Fri Apr 17 18:51:24 UTC 2015

Just for historians who might not know, when I did ur-JS in 1995, I made 
multiple names for the global, in part because event handlers (which 
prefigured nested functions in general, and added with-like DOM object 
scoping -- a regret); but also in part because <a target="_self"> was a 
thing in Netscape 2.


Boris Zbarsky wrote:
> On 4/17/15 10:55 AM, Andrea Giammarchi wrote:
>> We have `window` in DOM land, `self` in Workers
> We have `self` in DOM land too, so you can consistently use `self` 
> across Window and Workers.
>> and `global` in most common server side JS engines
> Sounds like they should add `self`.  ;)
> -Boris
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss

More information about the es-discuss mailing list