Throttling
Throttling — Throttling ensures a function is called at most once in a specified time period, regardless of how many times it is triggered. Throttling is different from debouncing: debouncing resets the timer on each call, while throttling guarantees execution at a regular interval. Use throttling for continuous events like scrolling or resizing where you want updates at a controlled rate without missing any. This term relates to the Function category of the reference. You will meet throttling in practice when working with APIs such as Function.prototype.call(), Function.prototype.apply(), Function.prototype.bind(), Function.prototype.toString(). Related terms: Closure, Hoisting, Event Loop, Prototype Chain, Temporal Dead Zone (TDZ), IIFE (Immediately Invoked Function Expression). Understanding throttling makes the rest of the JavaScript documentation noticeably easier to follow, because the concept recurs across methods, guides, and error messages. Look up more definitions in the JavaScript glossary.