Skip to content

Commit

Permalink
fix #396
Browse files Browse the repository at this point in the history
  • Loading branch information
kytart authored and zloirock committed May 26, 2018
1 parent aa7feac commit f98d2f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/_microtask.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,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 f98d2f5

Please sign in to comment.