promise-aplus-impl
promise-aplus-impl copied to clipboard
A simple implementation of Promise /A+ Spec
Results
1
promise-aplus-impl issues
Sort by
recently updated
recently updated
newest added
"用 new Promise 去进入 The Promise Resolution Procedure 过程",为什么可以这么写? https://github.com/Lucifier129/promise-aplus-impl/blob/master/src/naive.js#L87 onRejected 是函数的时候,为什么需要 resolve 出去?而不是 reject? https://github.com/Lucifier129/promise-aplus-impl/blob/master/src/naive.js#L55 --- 求大佬解惑