idiombook
7/17/2017 - 9:25 AM

[language: JavaScript, syntax: for-index-loop]

[language: JavaScript, syntax: for-index-loop]

for (idx of [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) {
    console.log(idx);
}