Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/appacademy/Module-1-Resources
/ double
Function
double
w2/d3/callbacks.js:104–104 ·
view source on GitHub ↗
(num)
Source
from the content-addressed store, hash-verified
102
}
103
104
let
double = (num) => num * 2;
105
106
// passing callback as named function
107
console.log(doubleNumbers([1,2,3], double))
// [ 2, 4, 6 ]
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected