0%

尝试使用 js 手写 Promise 类,实现部分功能,遵守 Promises/A+ 规范,例如 then, catch, all, race, resolve, reject 等。

使用原生 Promise 查看效果

阅读全文 »