6个静态方法:
- Promise.resolve()
- Promise.reject()
- Promise.all()
- Promise.allSettled()
- Promise.any()
- Promise.race()
实例方法:
- Promise.prototype.catch()
- Promise.prototype.finally()
- Promise.protptype.then()
参考阅读:https://github.com/yuanyuanbyte/Blog/issues/125https://github.com/yuanyuanbyte/Blog/issues/125