diff --git a/src/Web/Promise/Internal.js b/src/Web/Promise/Internal.js index e5121cf..7239fea 100644 --- a/src/Web/Promise/Internal.js +++ b/src/Web/Promise/Internal.js @@ -14,7 +14,18 @@ exports.finally = function(k, p) { return p.finally(k); }; -exports.resolve = Promise.resolve; -exports.reject = Promise.reject; -exports.all = Promise.all; -exports.race = Promise.race; \ No newline at end of file +exports.resolve = function(a) { + return Promise.resolve(a); +}; + +exports.reject = function(a) { + return Promise.reject(a); +}; + +exports.all = function(a) { + return Promise.all(a); +}; + +exports.race = function(a) { + return Promise.race(a); +};