Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upShadowing a Window property on the global object yields undefined #956
Labels
Comments
Contributor
kmcallister
commented
Sep 19, 2013
|
I suspect that's actually bareword document, not window.document. Still, both should work... |
|
The offending code is var document = window.document;
window.alert(document.documentElement);If I |
|
|
Two things:
#2, precisely because of this shadowing issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment