minor fixes

This commit is contained in:
Ilya Kantor 2020-05-06 23:21:13 +03:00
parent 3440a4eb80
commit df6f6be420

View file

@ -14,7 +14,7 @@ Then if the wrapped function is called at 0ms, 200ms and 500ms, and then there a
...And it will get the arguments of the very last call, other calls are ignored. ...And it will get the arguments of the very last call, other calls are ignored.
Here's the code (uses the debounce decorator from the [Lodash library](https://lodash.com/docs/4.17.15#debounce): Here's the code for it (uses the debounce decorator from the [Lodash library](https://lodash.com/docs/4.17.15#debounce):
```js ```js
let f = _.debounce(alert, 1000); let f = _.debounce(alert, 1000);