Created
March 20, 2013 22:52
-
-
Save mihaip/5209291 to your computer and use it in GitHub Desktop.
JS Scoping
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
for (var i = 0; i < ..; i++) { | |
var thing; | |
for (var j = 0; j < ...; j++) { | |
if (...) { | |
thing = ...; | |
break; | |
} | |
} | |
if (thing) { | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment