rookiewp opened this issue 5 years ago · 0 comments
好像没有考虑,这种情况: const p1 = new Promise1((r, j) => { setTimeout(() => { r(1) }, 3000) });
const p2 = new Promise1((r, j) => { r(p1) }).then((v) => { console.log(v) })