Promise 是异步编程的一种解决方案,比传统的解决方案——回调函数和事件——更合理和更强大。
pending->fullfilled
pending->rejected
← Object类型 组合式api →