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.
/be
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
[email protected]
https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss