什么是 Promise 定义: 异步编程的解决方案 状态 包括 Pending、Resolved、Rejected 三种状态 通过 resolve 和 reject 函数变更状态 状态变更后无法二次变更 方法 then catch finally all race