Array Helper Fungsi di ES6

var colors = ['red', 'green', 'blue']

function print(val) {
  console.log(val)
}

colors.forEach(print)
Outrageous Ostrich