Skip to content

Commit

Permalink
add a workaround for Chrome ~ 33 Promise bug, fix #640
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Sep 10, 2019
1 parent b50312c commit 71a49d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core-js/modules/es.promise.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,8 @@ if (FORCED) {
return new PromiseConstructor(function (resolve, reject) {
nativeThen.call(that, resolve, reject);
}).then(onFulfilled, onRejected);
});
// https://github.com/zloirock/core-js/issues/640
}, { unsafe: true });

// wrap fetch result
if (typeof $fetch == 'function') $({ global: true, enumerable: true, forced: true }, {
Expand Down

0 comments on commit 71a49d0

Please sign in to comment.