In JavaScript, you can access the fullfillment value or the rejection reason of a promise in 2 ways. A) Use 2 callbacks on promise.then(fn, ...
確定! 回上一頁