@rwaldron If that statement is at global scope, the var shadows the property (which lives on Window.prototype), so window.foo is undefined.
-
-
-
@littlecalculist@rwaldron Sure it does. Try |var alert = window.alert; document.write(alert)|: I get "undefined" in Firefox. - 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.