async function wrong() { await Promise.reject(new Error("錯了")); } ... 在Promise 時,我們會使用 catch 來做例外和錯誤處理,
確定! 回上一頁