The window
can not be redefined like we see in this example:
http://i.stack.imgur.com/IYX0p.jpg
I guess a possible explanation is to make JQuery easier to port in other contexts, where the global object may not be named window
, or even embedded in some other scripts, in the case window
refers to a valid token in the current scope (or in the activation object).
Anyway, the only reason why I think this may be useful is because the jQuery code can use the window
name without worry, because any vendor can bind the name to whatever object it wants, only by changing a single line of the jQuery source (the last one).