Created
May 14, 2014 21:22
-
-
Save carlosrojaso/bc365a60d79385a609b2 to your computer and use it in GitHub Desktop.
JS break
This file contains hidden or 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
// Stopping a loop | |
for ( var i = 0; i < 10; i++ ) { | |
if ( something ) { | |
break; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment