es6.array.for-each.js 404 B

1234567891011
  1. 'use strict';
  2. var $export = require('./_export');
  3. var $forEach = require('./_array-methods')(0);
  4. var STRICT = require('./_strict-method')([].forEach, true);
  5. $export($export.P + $export.F * !STRICT, 'Array', {
  6. // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])
  7. forEach: function forEach(callbackfn /* , thisArg */) {
  8. return $forEach(this, callbackfn, arguments[1]);
  9. }
  10. });