MCPcopy Index your code
hub / github.com/csev/py4e / indexOf

Function indexOf

tools/pythonauto/static/codemirror/codemirror.js:5618–5623  ·  view source on GitHub ↗
(collection, elt)

Source from the content-addressed store, hash-verified

5616 }
5617
5618 function indexOf(collection, elt) {
5619 if (collection.indexOf) return collection.indexOf(elt);
5620 for (var i = 0, e = collection.length; i < e; ++i)
5621 if (collection[i] == elt) return i;
5622 return -1;
5623 }
5624
5625 function createObj(base, props) {
5626 function Obj() {}

Callers 7

setGuttersForLineNumbersFunction · 0.70
makeChangeNoReadonlyFunction · 0.70
makeChangeFromHistoryFunction · 0.70
codemirror.jsFile · 0.70
removeReadOnlyRangesFunction · 0.70
lineNoFunction · 0.70
copyHistoryArrayFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected