• 2024-10-22手写节流函数-基本实现
    <buttonclass="btn">按钮</button><!--<scriptsrc="./js/underscore.js"></script>--><script>functionhdcthrottle(fn,time){//获取开始时间letstartTime=0const_throttleFn=f