Skip to content

Instantly share code, notes, and snippets.

@valerymelou
Created May 20, 2018 10:25
Show Gist options
  • Save valerymelou/8c175893c21a3e2a871e476ea1633a92 to your computer and use it in GitHub Desktop.
Save valerymelou/8c175893c21a3e2a871e476ea1633a92 to your computer and use it in GitHub Desktop.
var digits = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
for (var index in digits) {
console.log(digits[index]);
}
/**
0
1
2
3
4
5
6
7
8
9
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment