Created
July 16, 2019 15:57
-
-
Save deleteman/6e750ce221b52674088a5094dff86e95 to your computer and use it in GitHub Desktop.
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(let a = 0, b = 0; a < 10 && b < 100; console.log("Your counters are at:", ++a, b+=2)){} | |
/* | |
Your counters are at: 1 2 | |
Your counters are at: 2 4 | |
Your counters are at: 3 6 | |
Your counters are at: 4 8 | |
Your counters are at: 5 10 | |
Your counters are at: 6 12 | |
Your counters are at: 7 14 | |
Your counters are at: 8 16 | |
Your counters are at: 9 18 | |
Your counters are at: 10 20 | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment