Merge pull request #2010 from leviding/patch-17
Now _.bindAll(object, methodNames) must specify methodNames
This commit is contained in:
commit
ffbf1a8dd8
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ for (let key in user) {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
JavaScript libraries also provide functions for convenient mass binding , e.g. [_.bindAll(obj)](http://lodash.com/docs#bindAll) in lodash.
|
JavaScript libraries also provide functions for convenient mass binding , e.g. [_.bindAll(object, methodNames)](http://lodash.com/docs#bindAll) in lodash.
|
||||||
````
|
````
|
||||||
|
|
||||||
## Partial functions
|
## Partial functions
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue