Interview Prep Quiz Practice
Active Recall Drill Session
← Exit SessionQuestion 1 of 1
mediumInterview Prep
Using the condensed debounce implementation with delay=200, if fn is called at t=0, t=50, and t=100 and nothing else calls it after, at approximately what time does the wrapped fn actually fire (assuming the original fn callback itself is instant)?
code
// debounce(fn, 200) as defined; calls at t=0, t=50, t=100, then silence