schnee effeckt und fehler Korektur

This commit is contained in:
2023-08-14 17:52:24 +02:00
parent 4a843d4936
commit 79af4e9907
6813 changed files with 343821 additions and 356128 deletions

View File

@@ -19,7 +19,7 @@ isSpreadable = function (value) {
};
// eslint-disable-next-line no-unused-vars
module.exports = function (item/*, …items*/) {
module.exports = function (item /*, …items*/) {
var result;
if (!this || !isArray(this) || isPlainArray(this)) {
return concat.apply(this, arguments);

View File

@@ -2,6 +2,6 @@
var indexOf = require("./e-index-of");
module.exports = function (searchElement/*, position*/) {
module.exports = function (searchElement /*, position*/) {
return indexOf.call(this, searchElement, arguments[1]) > -1;
};

View File

@@ -9,7 +9,7 @@ var toInteger = require("../../../number/to-integer")
, max = Math.max
, min = Math.min;
module.exports = function (target, start/*, end*/) {
module.exports = function (target, start /*, end*/) {
var arr = validValue(this)
, end = arguments[2]
, length = toPosInt(arr.length)

View File

@@ -8,7 +8,7 @@ var numberIsNaN = require("../../number/is-nan")
, abs = Math.abs
, floor = Math.floor;
module.exports = function (searchElement/*, fromIndex*/) {
module.exports = function (searchElement /*, fromIndex*/) {
var i, length, fromIndex, val;
if (!numberIsNaN(searchElement)) return indexOf.apply(this, arguments);

View File

@@ -8,7 +8,7 @@ var numberIsNaN = require("../../number/is-nan")
, abs = Math.abs
, floor = Math.floor;
module.exports = function (searchElement/*, fromIndex*/) {
module.exports = function (searchElement /*, fromIndex*/) {
var i, fromIndex, val;
if (!numberIsNaN(searchElement)) {
// Jslint: ignore

View File

@@ -8,7 +8,7 @@ var toInteger = require("../../../number/to-integer")
, max = Math.max
, min = Math.min;
module.exports = function (value/*, start, end*/) {
module.exports = function (value /*, start, end*/) {
var arr = validValue(this)
, start = arguments[1]
, end = arguments[2]

View File

@@ -7,7 +7,7 @@ var isPlainArray = require("../../is-plain-array")
, forEach = Array.prototype.forEach
, call = Function.prototype.call;
module.exports = function (callbackFn/*, thisArg*/) {
module.exports = function (callbackFn /*, thisArg*/) {
var result, thisArg, i;
if (!this || !isArray(this) || isPlainArray(this)) {
return filter.apply(this, arguments);

View File

@@ -5,7 +5,7 @@ var callable = require("../../../object/valid-callable")
, some = Array.prototype.some
, apply = Function.prototype.apply;
module.exports = function (predicate/*, thisArg*/) {
module.exports = function (predicate /*, thisArg*/) {
var k, self;
self = Object(ensureValue(this));
callable(predicate);

View File

@@ -3,7 +3,7 @@
var findIndex = require("../find-index/shim");
// eslint-disable-next-line no-unused-vars
module.exports = function (predicate/*, thisArg*/) {
module.exports = function (predicate /*, thisArg*/) {
var index = findIndex.apply(this, arguments);
return index === -1 ? undefined : this[index];
};

View File

@@ -6,7 +6,7 @@ var toPosInt = require("../../number/to-pos-integer")
, objHasOwnProperty = Object.prototype.hasOwnProperty
, call = Function.prototype.call;
module.exports = function (cb/*, thisArg*/) {
module.exports = function (cb /*, thisArg*/) {
var i, self, thisArg;
self = Object(value(this));

View File

@@ -8,7 +8,7 @@ var callable = require("../../object/valid-callable")
, forEach = Array.prototype.forEach
, apply = Function.prototype.apply;
module.exports = function (cb/*, thisArg*/) {
module.exports = function (cb /*, thisArg*/) {
var result;
value(this);

View File

@@ -2,7 +2,7 @@
var indexOf = require("./e-index-of");
module.exports = function (value/*, fromIndex*/) {
module.exports = function (value /*, fromIndex*/) {
var result = [], i, fromIndex = arguments[1];
while ((i = indexOf.call(this, value, fromIndex)) !== -1) {
result.push(i);

View File

@@ -7,7 +7,7 @@ var isPlainArray = require("../../is-plain-array")
, forEach = Array.prototype.forEach
, call = Function.prototype.call;
module.exports = function (callbackFn/*, thisArg*/) {
module.exports = function (callbackFn /*, thisArg*/) {
var result, thisArg;
if (!this || !isArray(this) || isPlainArray(this)) {
return map.apply(this, arguments);

View File

@@ -5,7 +5,7 @@ var indexOf = require("./e-index-of")
, splice = Array.prototype.splice;
// eslint-disable-next-line no-unused-vars
module.exports = function (itemToRemove/*, …item*/) {
module.exports = function (itemToRemove /*, …item*/) {
forEach.call(
arguments,
function (item) {

View File

@@ -6,7 +6,7 @@ var toPosInt = require("../../number/to-pos-integer")
, objHasOwnProperty = Object.prototype.hasOwnProperty
, call = Function.prototype.call;
module.exports = function (cb/*, thisArg*/) {
module.exports = function (cb /*, thisArg*/) {
var i, self, thisArg;
self = Object(value(this));
callable(cb);

View File

@@ -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);

View File

@@ -14,7 +14,7 @@ var iteratorSymbol = require("es6-symbol").iterator
, defineProperty = Object.defineProperty;
// eslint-disable-next-line complexity, max-lines-per-function
module.exports = function (arrayLike/*, mapFn, thisArg*/) {
module.exports = function (arrayLike /*, mapFn, thisArg*/) {
var mapFn = arguments[1]
, thisArg = arguments[2]
, Context

View File

@@ -4,7 +4,7 @@ var toPosInt = require("../number/to-pos-integer")
, value = require("../object/valid-value")
, slice = Array.prototype.slice;
module.exports = function (length/*, …fill*/) {
module.exports = function (length /*, …fill*/) {
var arr, currentLength;
length = toPosInt(value(length));
if (length === 0) return [];