手写系列-这一次,彻底搞懂 Promise

本文实现了一个符合Promises/A+ 规范的 Promise,我们可以继续自己动手,参考 ES6 的 Promise 方法对 MyPromise 进行拓展练习。