Created
March 8, 2011 06:56
-
-
Save ikr/859959 to your computer and use it in GitHub Desktop.
Protection against someone defining the "undefined"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var undefined = 1; | |
(function (undefined) { | |
print(undefined); // really undefined, not 1 | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment