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
310 B

## 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
- https://lodash.com/docs/4.17.15#throttle