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

Function indexOf

static/jquery/1.12.4/jquery.js:641–650  ·  view source on GitHub ↗
( list, elem )

Source from the content-addressed store, hash-verified

639 // Use a stripped-down indexOf as it's faster than native
640 // http://jsperf.com/thor-indexof-vs-for/5
641 indexOf = function( list, elem ) {
642 var i = 0,
643 len = list.length;
644 for ( ; i < len; i++ ) {
645 if ( list[i] === elem ) {
646 return i;
647 }
648 }
649 return -1;
650 },
651
652 booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
653

Callers 3

jquery.jsFile · 0.70
setMatcherFunction · 0.70
matcherFromTokensFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected