catch () 方法只處理 Promise 的被拒絕狀態,並回傳一個新的 Promise 物件。此方法的行為等同於呼叫Promise.prototype.then(undefined, onRejected)。
確定! 回上一頁