BFE.dev
JavaScript Coding Questions92. throttle PromisesDiscuss1. 注意边界条件 2.利用闭包拿到运行的任务那一刻的index,从而存储对应的响应 3.用count记录已经完成的promise 4. 用running记录正在执行的任务