摘要: function repeat(fn,n,interval){ return (...rest) => { let cnt = 0 let timer = null timer = setInterval(() => { fn.apply(fn,rest) cnt++ if(cnt >= n){ c 阅读全文
posted @ 2020-11-12 17:20 671_MrSix 阅读(170) 评论(0) 推荐(0) 编辑