1.如果p是一個pending狀態的promise, 那么 res也是一個pending狀態的promise,
2.如果p是一個resolve狀態的promise, res沒有返回值, 則res是一個值為null, resolve狀態的Promise
1.如果p是一個pending狀態的promise, 那么 res也是一個pending狀態的promise,
2.如果p是一個resolve狀態的promise, res沒有返回值, 則res是一個值為null, resolve狀態的Promise
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。