Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/appacademy/Module-1-Resources
/ myEvery
Function
myEvery
w2/d3/repl.js:35–40 ·
view source on GitHub ↗
(arr, cb)
Source
from the content-addressed store, hash-verified
33
34
35
const
myEvery = (arr, cb) => {
36
for
(
let
item of arr) {
37
if
(cb(item) === false)
return
false;
38
}
39
return
true;
40
}
41
42
// const hasA = word => word.includes('a');
43
Callers
1
repl.js
File · 0.70
Calls
1
cb
Function · 0.85
Tested by
no test coverage detected