var array = ["a","b","c"]; // example 1 for(var value of array){ console.log(value); value += 1; } // example 2 array.forEach((item, index)=>{ console.log(index, item) })