MCPcopy Create free account
hub / github.com/ReactJSResources/react-webpack-babel / eachWithIndex

Function eachWithIndex

public/bundle.js:5150–5155  ·  view source on GitHub ↗
(i, el, cb)

Source from the content-addressed store, hash-verified

5148 var next = after(ary.length, done);
5149
5150 var eachWithIndex = function(i, el, cb) {
5151 each(el, function(error, msg) {
5152 result[i] = msg;
5153 cb(error, result);
5154 });
5155 };
5156
5157 for (var i = 0; i < ary.length; i++) {
5158 eachWithIndex(i, ary[i], next);

Callers 1

mapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected