Closed yusongmin closed 4 years ago
function debounce(func, await){
var timer; return function(){ var context = this; clearTimeout(timer) timer = setTimeout(func.bind(this),await) } }
function debounce(func, await){