Skip to content

Instantly share code, notes, and snippets.

@zackbiernat
Created January 22, 2018 22:08
Show Gist options
  • Save zackbiernat/6c0411fa3169fc903a34ea0830f7f103 to your computer and use it in GitHub Desktop.
Save zackbiernat/6c0411fa3169fc903a34ea0830f7f103 to your computer and use it in GitHub Desktop.
for (let i = 0; i < 3; i++) {
console.log(i);
for (let i = 10; i < 13 i++) {
console.log(i);
for (let i = 100; i < 103; i++) {
console.log(i);
}
}
}
//
/*
(1st)0,
(2nd)10,
(3rd)100, (3rd)101, (3rd)102,
(2nd)11,
(3rd)100, (3rd)101, (3rd)102,
(2nd)12,
(3rd)100, (3rd)101, (3rd)102,
(1st)1,
(2nd)11,
......
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment