SyntaxFix
Write A Post
Hire A Developer
Questions
Or another old school solution:
var someArray = [9, 2, 5]; let i = 0; for (var item of someArray) { console.log(item); // 9,2,5 i++; }