first commit
This commit is contained in:
commit
eb2f504652
32490 changed files with 5731109 additions and 0 deletions
12
node_modules/core-js/internals/array-for-each.js
generated
vendored
Normal file
12
node_modules/core-js/internals/array-for-each.js
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
'use strict';
|
||||
var $forEach = require('../internals/array-iteration').forEach;
|
||||
var arrayMethodIsStrict = require('../internals/array-method-is-strict');
|
||||
|
||||
var STRICT_METHOD = arrayMethodIsStrict('forEach');
|
||||
|
||||
// `Array.prototype.forEach` method implementation
|
||||
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
||||
module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
|
||||
return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
||||
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
||||
} : [].forEach;
|
||||
Loading…
Add table
Add a link
Reference in a new issue