This link appeared in WDRL 132 on .
Debouncing and Throttling Explained Through Examples | CSS-Tricks
Seeing so much code that does not use debouncing or throttling for scroll, resize or typing events, I can only recommend this article for everyone not yet using it. The article visually explains the differences between a normal event listener, debouncing and throttling and shows example code for most common use cases.