测试标题标题十个字是十个字么
发布于 6 年前 作者 front-end-captain 1900 次浏览 来自 客户端测试

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);
};
回到顶部