The then() method returns a Promise. It takes up to two arguments: callback functions for the success and failure cases of the Promise.
確定! 回上一頁