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

Function _forEachOf

public/javascripts/async.js:111–115  ·  view source on GitHub ↗
(object, iterator)

Source from the content-addressed store, hash-verified

109 }
110
111 function _forEachOf(object, iterator) {
112 _arrayEach(_keys(object), function (key) {
113 iterator(object[key], key);
114 });
115 }
116
117 function _indexOf(arr, item) {
118 for (var i = 0; i < arr.length; i++) {

Callers 1

async.jsFile · 0.85

Calls 2

_arrayEachFunction · 0.85
iteratorFunction · 0.70

Tested by

no test coverage detected