MCPcopy
hub / github.com/nwutils/nw-sample-apps / forEach

Function forEach

mini-code-edit/cm/test/test.js:287–289  ·  view source on GitHub ↗
(arr, f)

Source from the content-addressed store, hash-verified

285 return str.replace(/[<&]/g, function(str) {return str == "&" ? "&amp;" : "&lt;";});
286}
287function forEach(arr, f) {
288 for (var i = 0, e = arr.length; i < e; ++i) f(arr[i]);
289}
290
291function Failure(why) {this.message = why;}
292

Callers 2

test.jsFile · 0.70
runTestsFunction · 0.70

Calls 1

fFunction · 0.50

Tested by

no test coverage detected