The then() method of Promise instances takes up to two arguments: callback functions for the fulfilled and rejected cases of the Promise .
確定! 回上一頁