mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
330 B
13 lines
330 B
5 years ago
|
## Debounce
|
||
|
|
||
|
### Instructions
|
||
|
|
||
|
Create two functions that will work like `_.debounce` from lodash
|
||
|
- `debounce`, this function doesn't need to take care of the options
|
||
|
- `opDebounce`, this function will take care of the `leading` options
|
||
|
|
||
|
|
||
|
### Notions
|
||
|
|
||
|
- [lodash.com/docs/4.17.15#debounce](https://lodash.com/docs/4.17.15#debounce)
|