We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23dd661 commit 9eb453eCopy full SHA for 9eb453e
es6-shim.js
@@ -2561,7 +2561,7 @@
2561
p.constructor = {};
2562
var p2 = Promise.resolve(p);
2563
try {
2564
- p2.then(null, function () {}); // avoid "uncaught rejection" warnings in console
+ p2.then(null, noop).then(null, noop); // avoid "uncaught rejection" warnings in console
2565
} catch (e) {
2566
return true; // v8 native Promises break here https://code.google.com/p/chromium/issues/detail?id=575314
2567
}
0 commit comments