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 7, 2018
1 parent 6300ba3 commit 919c9ce
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 919c9ce

Please sign in to comment.