Skip to content
On this page

实现要点 ​

  1. 接收一个迭代对象(可以用 for... of 而不用专程去转数组 Array.from)。
  2. 返回 Promise。
  3. 并发