Update article.md
Minor wording change.
This commit is contained in:
parent
680d49eae4
commit
4d139e94cd
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ alert( triple(5) ); // = mul(3, 5) = 15
|
|||
|
||||
Why do we usually make a partial function?
|
||||
|
||||
The benefit is that we can create an independent function with a readable name (`double`, `triple`). We can use it and not provide first argument of every time as it's fixed with `bind`.
|
||||
The benefit is that we can create an independent function with a readable name (`double`, `triple`). We can use it and not provide the first argument every time as it's fixed with `bind`.
|
||||
|
||||
In other cases, partial application is useful when we have a very generic function and want a less universal variant of it for convenience.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue