Promise.resolve = function (value) { return new Promise(function (resolve, reject) { resolve(value); }) };
Promise.reject = function (reason) { return new Promise(function (resolve, reject) { reject(reason); }) };
最后更新于4年前