节流,防抖,proxy

// 节流 let throttle = function(func, delay) { let timer = null; return ()=> { if (!timer) { timer = setTimeout(() => { ...
posted @ 2019-10-28 15:49  鱿鱼须须  阅读(216)  评论(0编辑  收藏  举报