Javascript Array each(block)

Description

Javascript Array each(block)


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



PreviousNext

Related