Skip to content

Commit

Permalink
Update currySum.js
Browse files Browse the repository at this point in the history
  • Loading branch information
samirllama authored Sep 28, 2020
1 parent 9f0ce2f commit 389ebd3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions currySum.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,4 @@ const infiniteCurry = (fn, seed) => {
const iSum = infiniteCurry((x, y) => x + y, 0);
console.log(iSum(1)(34)(12)(12,12 ,13)())

// const incrementEach = (ar) =>
// ar.map(num => sum(num))
// const curriedSum = n => m => o => sum(m,n,o)

// console.log(incrementEach(1)(2)(3))

0 comments on commit 389ebd3

Please sign in to comment.