# Promise

Promise 是异步编程的一种解决方案,比传统的解决方案——回调函数和事件——更合理和更强大。

# 状态改变只有两种

  1. pending->fullfilled

  2. pending->rejected