JavaScript Code to Loop através da matriz
var colors = ["red","blue","green"];
for (var i = 0; i < colors.length; i++) {
console.log(colors[i]);
}
Grepper
var colors = ["red","blue","green"];
for (var i = 0; i < colors.length; i++) {
console.log(colors[i]);
}
var array = ['Volvo','Bmw','etc'];
for(var seeArray of array){
console.log(seeArray);
}