Promise icon indicating copy to clipboard operation
Promise copied to clipboard

手写一个PromiseA+的实现

Results 2 Promise issues
Sort by recently updated
recently updated
newest added

发现一个比较微妙但又很严肃的问题:**.then 在任何时候都应当是异步的,所以 defer 在 then 中也必须有体现,故而可能在 then 中一次性 defer 比较好。** ![image](https://user-images.githubusercontent.com/12626454/82751318-ed740a80-9de8-11ea-954e-aa9d36aca11b.png)

![image](https://user-images.githubusercontent.com/12626454/82723101-f5f01680-9cfe-11ea-9acb-4ab519456fcb.png) 这个不应该发生😄