14 Dec 2023
Finished:
2627. Debounce
What I learn:
- What is Debounce in Javascript and its usage.
- It is guaranteed that a
timeoutIDvalue will never be reused by a subsequent call tosetTimeout()orsetInterval()on the same object (a window or a worker).
Fun fact: we can use clearTimeout() and clearInterval() interchangeably.
Top comments (2)
Hi.
Just because you can doesn't mean you should. It's confusing. ^^
Sure! I won't do that.