schnee effeckt und fehler Korektur
This commit is contained in:
2
node_modules/es5-ext/array/#/splice/shim.js
generated
vendored
2
node_modules/es5-ext/array/#/splice/shim.js
generated
vendored
@@ -6,7 +6,7 @@ var isPlainArray = require("../../is-plain-array")
|
||||
, forEach = Array.prototype.forEach;
|
||||
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
module.exports = function (start, deleteCount/*, …items*/) {
|
||||
module.exports = function (start, deleteCount /*, …items*/) {
|
||||
var arr = splice.apply(this, arguments), result;
|
||||
if (!this || !isArray(this) || isPlainArray(this)) return arr;
|
||||
result = new this.constructor(arr.length);
|
||||
|
||||
Reference in New Issue
Block a user