MCPcopy
hub / github.com/fontello/fontello / forEach

Function forEach

client/lib/loader/loader.js:52–56  ·  view source on GitHub ↗
(array, iterator)

Source from the content-addressed store, hash-verified

50
51 // Simple cross-browser `forEach` iterator for arrays.
52 function forEach(array, iterator) {
53 for (var index = 0; index < array.length; index += 1) {
54 iterator(array[index], index);
55 }
56 }
57
58 // Simple cross-browser replacement for `Array.reduce`
59 function reduce(array, iterator, value) {

Callers 3

uniqFunction · 0.85
loadAssetsFunction · 0.85
loader.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…