And if the network fails for some reason, the Promise rejects and we could catch the error as follows: fetch(url, { method: 'GET ...
確定! 回上一頁