wallet-core/node_modules/core-js/modules/es6.array.reduce.js

10 lines
405 B
JavaScript
Raw Normal View History

2017-05-28 00:38:50 +02:00
'use strict';
var $export = require('./_export')
, $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);
}
});