const p = Promise.race([p1,p2,p3]). 1. 只要 p1 、 p2 、 p3 之中有一个实例率先改变状态, p 的状态就跟着改变。那个率先改变的 Promise 实例的返回值,就传递给 p ...
確定! 回上一頁