Skip to content

Commit

Permalink
fix microtasks in WebOS, see #396
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed May 5, 2018
1 parent 2777bd7 commit 534d06a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-js/internals/microtask.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = function () {
};
// environments with maybe non-completely correct, but existent Promise
} else if (Promise && Promise.resolve) {
var promise = Promise.resolve();
var promise = Promise.resolve(undefined);
notify = function () {
promise.then(flush);
};
Expand Down

0 comments on commit 534d06a

Please sign in to comment.