Javascript Array forEachNew(cb)

Description

Javascript Array forEachNew(cb)

Array.prototype.forEachNew = function (cb) {
  for (var i = 0; i < this.length; i++) {
    cb(this[i]);/*from www.j  ava  2s . c  o  m*/
  }
  return;
};



PreviousNext

Related