MCPcopy Index your code
hub / github.com/caolan/nodeunit / _reduce

Function _reduce

deps/async.js:44–52  ·  view source on GitHub ↗
(arr, iterator, memo)

Source from the content-addressed store, hash-verified

42 };
43
44 var _reduce = function (arr, iterator, memo) {
45 if (arr.reduce) {
46 return arr.reduce(iterator, memo);
47 }
48 _forEach(arr, function (x, i, a) {
49 memo = iterator(memo, x, i, a);
50 });
51 return memo;
52 };
53
54 var _keys = function (obj) {
55 if (Object.keys) {

Callers 1

readyFunction · 0.70

Calls 1

_forEachFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…