MCPcopy Create free account
hub / github.com/PrairieLearn/PrairieLearn / _arrayEach

Function _arrayEach

public/javascripts/async.js:80–87  ·  view source on GitHub ↗
(arr, iterator)

Source from the content-addressed store, hash-verified

78 }
79
80 function _arrayEach(arr, iterator) {
81 var index = -1,
82 length = arr.length;
83
84 while (++index < length) {
85 iterator(arr[index], index, arr);
86 }
87 }
88
89 function _map(arr, iterator) {
90 var index = -1,

Callers 7

_reduceFunction · 0.85
_forEachOfFunction · 0.85
taskCompleteFunction · 0.85
async.jsFile · 0.85
_insertFunction · 0.85
_nextFunction · 0.85
_console_fnFunction · 0.85

Calls 1

iteratorFunction · 0.70

Tested by

no test coverage detected