DEV Community

loading...

Discussion on: JavaScript - debounce vs throttle ⏱

Collapse
iyashsoni profile image
Yash Soni Author

Hi John, we use apply when we need to pass an explicit this context to the function. You may want to check the following examples: taniarascia.com/this-bind-call-app...