01JS↗Debounce FunctionPrevents a function from being called too frequently, executes only the last callfunction debounce(func, delay) { let timeoutId; return function(...args) {#function#performancemedium