Skip to content

Commit f8ca92b

Browse files
timursevimlitshemsedinov
authored andcommitted
Add usage example
1 parent 2bf45d9 commit f8ca92b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

JavaScript/8-curry-ext.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ const y5 = f(1)(2)(3)(4);
2222
const y6 = f(1)(2, 3, 4);
2323
const y7 = f(1)(2)(3, 4);
2424
const y8 = f(1, 2)(3, 4);
25-
console.log(y1, y2, y3, y4, y5, y6, y7, y8);
25+
const y9 = curry(sum4, 1, 2, 3, 4);
26+
console.log(y1, y2, y3, y4, y5, y6, y7, y8, y9);

0 commit comments

Comments
 (0)