add missing closing bracket
Adding the missin closing bracket.
This commit is contained in:
parent
2f4747be58
commit
c658bb30f3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue