Merge pull request #2100 from yoga1234/patch-1

add missing closing bracket
This commit is contained in:
Ilya Kantor 2020-09-05 16:48:32 +03:00 committed by GitHub
commit 2f1f6a1814
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,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 for it (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);