手写Promise复盘再也不担心不会手写Promise了

一、Promise的三种状态 promise有三种状态:pending(待处理)、fufilled(成功)、rejected(失败) 1.promise初始状态为:pending(待处理) 2.pro