Javascript Array pushManyAt(items, at)

Description

Javascript Array pushManyAt(items, at)

Array.prototype.pushManyAt = function(items, at) {
    return this.splice.apply(this, [at, 0].concat(items));
};



PreviousNext

Related