Add the (2) point reference
This commit is contained in:
parent
5965ae79a8
commit
997f392f74
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ The result of `curry(func)` call is the wrapper `curried` that looks like this:
|
|||
function curried(...args) {
|
||||
if (args.length >= func.length) { // (1)
|
||||
return func.apply(this, args);
|
||||
} else return curried.bind(this, ...args);
|
||||
} else return curried.bind(this, ...args); // (2)
|
||||
};
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue