Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Faheem-Khan97/javascript-coding-problems-with-theory
/ sum1
Function
sum1
currying.js:9–9 ·
view source on GitHub ↗
(a,b)
Source
from the content-addressed store, hash-verified
7
8
// A simple example --> transforming sum(a,b) --> sum(a)(b)
9
const
sum1 = (a,b) => a+b;
10
11
const
addition1 = sum1(3, 4);
12
console.log(addition1);
// 7
Callers
1
currying.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected