then () method should be called on the promise object to handle a result (resolve) or an error (reject). It accepts two functions as parameters.
確定! 回上一頁