All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.core-js.library.modules.es6.array.reduce.js Maven / Gradle / Ivy

The newest version!
'use strict';
var $export = require('./_export');
var $reduce = require('./_array-reduce');

$export($export.P + $export.F * !require('./_strict-method')([].reduce, true), 'Array', {
  // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])
  reduce: function reduce(callbackfn /* , initialValue */) {
    return $reduce(this, callbackfn, arguments.length, arguments[1], false);
  }
});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy