Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bclinkinbeard/angular
/ includes
Function
includes
test/fixtures/foo.js:764–766 ·
view source on GitHub ↗
(array, obj)
Source
from the content-addressed store, hash-verified
762
763
764
function
includes(array, obj) {
765
return
indexOf(array, obj) != -1;
766
}
767
768
function
indexOf(array, obj) {
769
if
(array.indexOf)
return
array.indexOf(obj);
Callers
1
FormController
Function · 0.85
Calls
1
indexOf
Function · 0.85
Tested by
no test coverage detected