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.
14 lines
347 B
14 lines
347 B
5 years ago
|
## Throttle
|
||
5 years ago
|
|
||
|
### Instructions
|
||
|
|
||
|
Create two functions that will work like `_.throttle` from lodash
|
||
|
- `throttle`, this function doesn't need to take care of the options
|
||
|
- `opThrottle`, this function will take care of
|
||
|
the `trailing` and `leading` options
|
||
|
|
||
|
|
||
|
### Notions
|
||
|
|
||
5 years ago
|
- [lodash.com/docs/4.17.15#throttle](https://lodash.com/docs/4.17.15#throttle)
|