utilityjavascript function debounce(fn, interval) { let timerId; return function(...args) { if (timerId) { clearTimeout(timerId); }