Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
for (let i = 0; i < ary.length; i += 1) {
console.log(i, ary[i]);
}
// -> 0, "a"
// -> 1, "b"
// -> 2, "c"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment