Created
February 25, 2018 19:42
-
-
Save BolajiOlajide/301bdf0d72fbf2752bbf423085022091 to your computer and use it in GitHub Desktop.
an example illustrating the concept of iteration
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
var step; | |
for (step = 0; step < 5; step++) { | |
// Runs 5 times, with values of step 0 through 4. | |
console.log('Walking east one step'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment