3 var isPlainArray = require('../../is-plain-array')
5 , isArray = Array.isArray, splice = Array.prototype.splice
6 , forEach = Array.prototype.forEach;
8 module.exports = function (start, deleteCount/*, …items*/) {
9 var arr = splice.apply(this, arguments), result;
10 if (!this || !isArray(this) || isPlainArray(this)) return arr;
11 result = new this.constructor(arr.length);
12 forEach.call(arr, function (val, i) { result[i] = val; });