Last active
June 19, 2018 09:09
-
-
Save goofmint/7f9e3d72a948f22bd6fa1305e701ad5c to your computer and use it in GitHub Desktop.
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
for (let [i, v] of ary.entries()) { | |
console.log(i, v); | |
} | |
// -> 0, "a" | |
// -> 1, "b" | |
// -> 2, "c" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment