Mr.Yan
Results
2
comments of
Mr.Yan
function debounce(func,wait,immediate){ // wait 延迟执行毫秒数, immediate true 表立即执行,false 表非立即执行 let timeout; return function () { let context = this; let args = arguments; if (timeout) clearTimeout(timeout); if (immediate) { let...
console.log([...abc.splice(abc.length-(k % abc.length)),...abc])