-
调用 resolve()函数 状态由 pending => fullfilled(resolved)
-
调用 reject()函数 状态由 pending => rejected
-
抛出错误 throw 状态由 pending => rejected
调用 resolve()函数 状态由 pending => fullfilled(resolved)
调用 reject()函数 状态由 pending => rejected
抛出错误 throw 状态由 pending => rejected