观看视频 - JavaScript 代码题
5. 手写throttle()并支持leading 和 trailing