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 14, 2018
1 parent ab6c0b5 commit 98839c2
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 98839c2

Please sign in to comment.