Created
April 10, 2013 05:51
-
-
Save rcoh/5352140 to your computer and use it in GitHub Desktop.
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 (loop_cond) { | |
int x = 2; | |
if (x > 1) { | |
x = -5; | |
} | |
print(x); | |
} | |
// If we hoist x = 2, then we'll only print once | |
// If we don't we'll print every time. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment