DEV Community

Discussion on: What is Throttling and Debouncing in JavaScript and how it works?

bounasserabdelwahab profile image
Bounasser Abdelwahab

the function will only run once after 3.05 seconds.

Don't you mean 3.5 seconds?

santan47 profile image
Santan kr Sharma Author

You got that it's 3.5 sec .... Thanks.