MCPcopy Create free account
hub / github.com/sql-js/sql.js / index

Function index

documentation/javascript/application.js:10238–10242  ·  view source on GitHub ↗
(array, item)

Source from the content-addressed store, hash-verified

10236
10237 // IE doesn't support Array#indexOf, so have a simple replacement
10238 function index(array, item){
10239 var i = array.length;
10240 while(i--) if(array[i]===item) return i;
10241 return -1;
10242 }
10243
10244 // handle keydown event
10245 function dispatch(event, scope){

Callers 1

dispatchFunction · 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…