Add the (2) point reference

This commit is contained in:
Lakshya Thakur 2021-01-09 17:40:25 +05:30 committed by GitHub
parent 5965ae79a8
commit 997f392f74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
};
```