Sha256: d08dfc5b3d11ccffa8b89a28ded4845299d245d4e54fbceebe46d94377fb0819
Contents?: true
Size: 459 Bytes
Versions: 12
Compression:
Stored size: 459 Bytes
Contents
'use strict'; var $forEach = require('../internals/array-iteration').forEach; var sloppyArrayMethod = require('../internals/sloppy-array-method'); // `Array.prototype.forEach` method implementation // https://tc39.github.io/ecma262/#sec-array.prototype.foreach module.exports = sloppyArrayMethod('forEach') ? function forEach(callbackfn /* , thisArg */) { return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } : [].forEach;
Version data entries
12 entries across 12 versions & 4 rubygems