Last active
December 2, 2018 17:03
-
-
Save wbhob/a853ed021880c416409e5b7649cec666 to your computer and use it in GitHub Desktop.
Making a while loop out of a for loop
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
let i = 0; | |
const total = 12; | |
for (; i < total;) { | |
doWhatever(); | |
i++; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment