All challenges

JavaScript challenge · Frontend

Debounce

Difficulty

medium

Time

~20m

Format

Single

Grading

Auto-graded

#frontend#javascript#typescript#timing#closures
Mission file // read carefullymedium

Implement debounce(fn, wait) returning a debounced function that delays calling fn until wait ms have passed since the last call, using the most recent arguments. Use setTimeout.

Build with

TypeScriptJavaScript
Hidden test suite
Auto-graded on submit
Start challenge

Sign in to save your progress.