Created
May 14, 2014 21:19
-
-
Save carlosrojaso/06ee1b5013413d701928 to your computer and use it in GitHub Desktop.
JS while
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
var i = 0; | |
while ( i < 100 ) { | |
// This block will be executed 100 times. | |
console.log( "Currently at " + i ); | |
i++; // Increment i | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment