MCPcopy
hub / github.com/witheve/Eve / map

Function map

src/codemirror.js:8346–8350  ·  view source on GitHub ↗
(array, f)

Source from the content-addressed store, hash-verified

8344 return -1;
8345 }
8346 function map(array, f) {
8347 var out = [];
8348 for (var i = 0; i < array.length; i++) out[i] = f(array[i], i);
8349 return out;
8350 }
8351
8352 function nothing() {}
8353

Callers 3

applyTextInputFunction · 0.85
shiftDocFunction · 0.85
codemirror.jsFile · 0.85

Calls 1

fFunction · 0.70

Tested by

no test coverage detected