This commit is contained in:
Ilya Kantor 2019-12-27 11:40:59 +03:00
parent 2483af0eda
commit 994390265a
5 changed files with 19 additions and 20 deletions

View file

@ -313,7 +313,7 @@ The result of `partial(func[, arg1, arg2...])` call is a wrapper `(*)` that call
- Then gives it `...argsBound` -- arguments from the `partial` call (`"10:00"`)
- Then gives it `...args` -- arguments given to the wrapper (`"Hello"`)
So easy to do it with the spread operator, right?
So easy to do it with the spread syntax, right?
Also there's a ready [_.partial](https://lodash.com/docs#partial) implementation from lodash library.