Javascript Array pushRange(arr)
//add new items to the tail Array.prototype.pushRange = function(arr) { this.push.apply(this, arr);// w w w . java 2 s . c o m };