Skip to content

Commit 997f392

Browse files
authored
Add the (2) point reference
1 parent 5965ae7 commit 997f392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/99-js-misc/03-currying-partials/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ The result of `curry(func)` call is the wrapper `curried` that looks like this:
150150
function curried(...args) {
151151
if (args.length >= func.length) { // (1)
152152
return func.apply(this, args);
153-
} else return curried.bind(this, ...args);
153+
} else return curried.bind(this, ...args); // (2)
154154
};
155155
```
156156

0 commit comments

Comments
 (0)