# Debounce and Throttle

Debounce waits for a pause before it runs a function, throttle runs it at most once every so often, and an AbortController cancels a request that's out of date, so a busy page stays fast and shows the right answer.

![Cheat sheet: Debounce and Throttle](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/10/ebf7f590fb3d49dcab005268625695a7.webp)

- Category: JavaScript
- Level: Freelancer
- Tags: AbortController, Closure (javascript), Debounce, JavaScript, Throttle, web-development
- Updated: November 1, 2026

Source: https://www.ask-codey.com/cheat-sheets/javascript-performance-debounce-and-throttle-cheat-sheet
