Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mouredev/hello-javascript
/ partialSum
Function
partialSum
Intermediate/00-advanced-functions.js:108–112 ·
view source on GitHub ↗
(a)
Source
from the content-addressed store, hash-verified
106
// Funciones parciales
107
108
function
partialSum(a) {
109
return
function
(b, c) {
110
return
sum(a, b, c)
111
}
112
}
113
114
const
sumWith = partialSum(4)
115
console.log(sumWith(2, 3))
Callers
1
00-advanced-functions.js
File · 0.85
Calls
1
sum
Function · 0.70
Tested by
no test coverage detected