Javascript Array extend()

Description

Javascript Array extend()


Array.prototype.extend = function()
{
  var oCurrentObj = {};
  for(var i = 0; i < this.length; i++)
  {//  w  w w. j  a  va 2  s  .  c  o  m
    oCurrentObj = this[i].extend(oCurrentObj);
  }
  return oCurrentObj;
}



PreviousNext

Related