fix
This commit is contained in:
parent
7f5fced5b2
commit
6732cef816
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ What if we'd like to fix some arguments, but not the context `this`? For example
|
||||||
|
|
||||||
The native `bind` does not allow that. We can't just omit the context and jump to arguments.
|
The native `bind` does not allow that. We can't just omit the context and jump to arguments.
|
||||||
|
|
||||||
Fortunately, a wrapper function `partial` for binding only arguments can be easily implemented.
|
Fortunately, a helper function `partial` for binding only arguments can be easily implemented.
|
||||||
|
|
||||||
Like this:
|
Like this:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue