Kod JavaScript, aby zapętlić się przez tablicę
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);
}