Javascript Array pushArray(arr)

Description

Javascript Array pushArray(arr)

Array.prototype.pushArray = function(arr) {

  for (var i = 0; i < arr.length; ++i)
    this.push(arr[i]);/*from   w  ww. j a v  a 2 s .  c  om*/

}



PreviousNext

Related