上面代码中, Promise.all() 方法接受一个数组作为参数, p1 、 p2 、 p3 都是Promise 实例,如果不是,就会先调用下面讲到的 Promise.resolve 方法, ...
確定! 回上一頁