写的一篇关于 promise 实现细节,以及如何通过 promise A+ 测试,另外对一道奇葩的面试题做了分析,return Promise.resolve 是否需要创建两次微任务。过来拉一波支持
评论