摘要: 函数节流 function throttle(fn, delay = 1000, immediate = true) { let Running = false; return () => { if (!Running) { Running = true; immediate false && fn 阅读全文
posted @ 2019-04-16 12:57 limbobark 阅读(340) 评论(0) 推荐(0) 编辑