MCPcopy Create free account
hub / github.com/dtmilano/AndroidViewClient / indexOf

Function indexOf

docs/_static/jquery-3.6.0.js:583–592  ·  view source on GitHub ↗
( list, elem )

Source from the content-addressed store, hash-verified

581 // Use a stripped-down indexOf as it's faster than native
582 // https://jsperf.com/thor-indexof-vs-for/5
583 indexOf = function( list, elem ) {
584 var i = 0,
585 len = list.length;
586 for ( ; i < len; i++ ) {
587 if ( list[ i ] === elem ) {
588 return i;
589 }
590 }
591 return -1;
592 },
593
594 booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" +
595 "ismap|loop|multiple|open|readonly|required|scoped",

Callers 4

jquery-3.6.0.jsFile · 0.85
setMatcherFunction · 0.85
matcherFromTokensFunction · 0.85
containsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected