Pomocnik tablicy funkcjonuje w ES6
var colors = ['red', 'green', 'blue']
function print(val) {
console.log(val)
}
colors.forEach(print)
Outrageous Ostrich
var colors = ['red', 'green', 'blue']
function print(val) {
console.log(val)
}
colors.forEach(print)