Skip to content

Instantly share code, notes, and snippets.

es6 - new variable declarations - let and const - 12.js
for (var i = 1; i <= 3; i++) {
console.log('outer loop: ', i);
for (var i = 1; i <= 3; i++) {
console.log('inner loop: ', i);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment