创建防抖函数,从上一次触发回调后,延迟 wait 毫秒后再次触发回调
function
number
jQuery(window).on('resize', debounce(callback, 150));
← cleanArray throttle →