Javascript Array before(item)

Description

Javascript Array before(item)


Array.prototype.before = function(item){
  this.splice(0,0,item);/* w w  w  . j a  va 2  s  .co m*/
};



PreviousNext

Related