try { const fulfilledValue = await promise; } catch (rejectedValue) { // … } } 如果在函數定義之前使用了 async 關鍵字,就可以在函數內使用 ...
確定! 回上一頁