Javascript Array unshiftRange(arr)

Description

Javascript Array unshiftRange(arr)

//add new items to the head
Array.prototype.unshiftRange = function(arr) {
    this.unshift.apply(this, arr);//from ww  w.j av a  2s.  c o  m
};



PreviousNext

Related