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

Function _forEach

deps/async.js:24–31  ·  view source on GitHub ↗
(arr, iterator)

Source from the content-addressed store, hash-verified

22 //// cross-browser compatiblity functions ////
23
24 var _forEach = function (arr, iterator) {
25 if (arr.forEach) {
26 return arr.forEach(iterator);
27 }
28 for (var i = 0; i < arr.length; i += 1) {
29 iterator(arr[i], i, arr);
30 }
31 };
32
33 var _map = function (arr, iterator) {
34 if (arr.map) {

Callers 5

_mapFunction · 0.70
_reduceFunction · 0.70
async.jsFile · 0.70
taskCompleteFunction · 0.70
_console_fnFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…