resolve 與 reject 函式,會在被個別呼叫時,個別執行之。通常executor 函式會發起一些非同步操作。接著,成功完成後執行 resolve 以完成promise;或如果 ...
確定! 回上一頁