When a Promise does not resolve successfully, it is said to reject. ... You can handle errors by adding a catch() like this:.
確定! 回上一頁