Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
代码在这 :https://codesandbox.io/s/ecstatic-night-dnh16i?file=/src/promise.js 疑问: 为何new了两个promise实例, 实际像是公用一个
then方法有问题,无法执行,状态一直是pending
@k1995 箭头函数问题 改成function 可以了,感谢!