测试标题标题十个字是十个字么
hello
hello world
function throttle(method, context, ...args) {
method.timer && clearTimeout(method.timer);
method.timer = setTimeout(() => {
method.call(context, args);
}, 300);
}
5 回复
测试评论
测试回复
测试回复
helle world
const throttle = (method, context, ...args) => {
method.timer && clearTimeout(method.timer);
method.timer = setTimeout(() => {
method.call(context, args);
}, 300);
};
测试回复
helle world
const throttle = (method, context, ...args) => {
method.timer && clearTimeout(method.timer);
method.timer = setTimeout(() => {
method.call(context, args);
}, 300);
};
@front-end-captain 测试回复