| Promise.withResolvers || (Promise.withResolvers = function withResolvers() { | |
| var a, b, c = new this(function (resolve, reject) { | |
| a = resolve; | |
| b = reject; | |
| }); | |
| return {resolve: a, reject: b, promise: c}; | |
| }); | |
| Promise.withResolvers || (Promise.withResolvers = function withResolvers() { | |
| var a, b, c = new this(function (resolve, reject) { | |
| a = resolve; | |
| b = reject; | |
| }); | |
| return {resolve: a, reject: b, promise: c}; | |
| }); | |