What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-12 23:53:15
javascript debounce function
// Returns a function, that, as long as it continues to be invoked, will not // be triggered. The function will be called after it stops being called for // N milliseconds. If `immediate` is passed, trigger the function on the // leading edge, instead of ... Add solution -
Javascript 2021-11-08 07:07:13
debounce polyfill
// This is from David Walshes Blog Post // https://davidwalsh.name/javascript-debounce-function // A very simplified but effective version of Underscores debounce function function debounce(func, wait, immediate) { var timeout; return function() { v... Add solution -
Other 2021-09-29 03:42:03
debounce
// Returns a function, that, as long as it continues to be invoked, will not // be triggered. The function will be called after it stops being called for // N milliseconds. If `immediate` is passed, trigger the function on the // leading edge, instead of ... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5