MCPcopy Create free account
hub / github.com/TruthHun/BookStack / map

Function map

static/editor.md/lib/codemirror/lib/codemirror.js:8078–8082  ·  view source on GitHub ↗
(array, f)

Source from the content-addressed store, hash-verified

8076 return -1;
8077 }
8078 function map(array, f) {
8079 var out = [];
8080 for (var i = 0; i < array.length; i++) out[i] = f(array[i], i);
8081 return out;
8082 }
8083
8084 function nothing() {}
8085

Callers 3

applyTextInputFunction · 0.70
shiftDocFunction · 0.70
codemirror.jsFile · 0.70

Calls 1

fFunction · 0.50

Tested by

no test coverage detected