Accepted Answer · #64 · 2026-06-07
Which answer is correct?
Difficulty 2/3
How to play
Read the Stack Overflow–style question, then pick the one correct answer from four plausible options. Watch out — wrong answers often have high fake votes.
How to debounce a function in JavaScript?
I have a search input that fires an API call on every keystroke. I want to wait until the user stops typing.
javascriptdebounceperformance
Loading your progress...
Press 1 through 4, or tap a numbered choice, to answer. Back to hub