Created
May 14, 2014 21:19
-
-
Save carlosrojaso/fb72b1a5aec54f39d358 to your computer and use it in GitHub Desktop.
JS Loops
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
for ( var i = 0; i < 5; i++ ) { | |
// Logs "try 0", "try 1", ..., "try 4". | |
console.log( "try " + i ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment