每一個被範例化出來的promise範例,都有.then() 和.catch() 兩個方法。 ... 將範例的狀態變更為Resolved,故.then的resolve回撥會在當前Promise範例resolve()時被觸發.
確定! 回上一頁