Putting `global` reference in specs

Boris Zbarsky bzbarsky at mit.edu
Fri Apr 17 15:02:30 UTC 2015

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`.  ;)


More information about the es-discuss mailing list