Javascript Array forEach(fn)

Description

Javascript Array forEach(fn)



Array.prototype.forEach  = function(fn) {
  for (var i = 0; i < this.length; i++) fn(this[i]);
}



PreviousNext

Related