docs(debounce): correct grammar

This commit is contained in:
davhojt 2022-06-20 12:21:44 +03:00 committed by Dav Hojt
parent 3b53b3dfca
commit d043c1544d
1 changed files with 5 additions and 5 deletions

View File

@ -2,12 +2,12 @@
### Instructions
Create two functions that will work like `_.debounce` from lodash
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
- `debounce`: don't worry about the options.
- `opDebounce`: implement the `leading` options.
### Notions
- [lodash.com/docs/4.17.15#debounce](https://lodash.com/docs/4.17.15#debounce)
- [https://css-tricks.com/debouncing-throttling-explained-examples/#debounce](https://css-tricks.com/debouncing-throttling-explained-examples/#debounce)
- [lodash debounce](https://lodash.com/docs/4.17.15#debounce)
- [css-tricks.com debounce](https://css-tricks.com/debouncing-throttling-explained-examples/#debounce)