Skip to content

Commit 374168d

Browse files
committed
lets consider this
1 parent 9449ff6 commit 374168d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/pages/challenges/functions.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ function multiply(num1) {
168168
function curryFunc(fn) {
169169
return function curry(...args) {
170170
if(args.length < fn.length) {
171-
return curry.bind(null, ...args);
171+
return curry.bind(this, ...args);
172172
}
173-
return fn(...args);
173+
return fn.apply(this, args);
174174
}
175175
}
176176

0 commit comments

Comments
 (0)