Created
April 26, 2012 14:19
-
-
Save osuushi/2499913 to your computer and use it in GitHub Desktop.
Why globals named "p" are dangerous
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
p('This is a paragraph about some stuff').inject(document.body); | |
/* Lots of code later, but within the same scope */ | |
for(var p in pancakeList) { | |
flip(p); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment