promise.then(onFulfilled, onRejected) 操作之後執行回撥函式。 ... 靜態方法Promise.resolve(value) 可以認為是new Promise() 方法的快捷方式。
確定! 回上一頁