Skip to content

Commit 9cdff04

Browse files
committed
Fix currying
1 parent 144a0d0 commit 9cdff04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎function-patterns/currying.html‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@
7474
if(typeofoldy==="undefined"){// partial
7575
returnfunction(newy){
7676
returnoldx+newy;
77-
}
78-
// full application
79-
returnx+y;
77+
}
8078
}
79+
// full application
80+
returnx+y;
8181
}
8282

8383
// test

0 commit comments

Comments
(0)