Closed BITespresso closed 5 years ago
Google Chrome 71.0.3578.98(Official Build)(Windows 10/64 bit)
var o = new Zousan(function () { throw 123; });
results:
Uncaught 123 //highlighted as error
o
results:
undefined
var s = new Zousan(function () { throw 123; });
results:
undefined
s.catch(console.log), void 0
results:
123
undefined
var n = new Promise(function () { throw 123; });
results:
undefined
Uncaught (in promise) 123 //highlighted as error
n.catch(console.log), void 0
results:
123
undefined
@watnab Thanks for the summary!
See my thoughts in: https://github.com/bluejava/zousan/issues/7#issuecomment-449978770
BTW: Notice that Chrome Browser removes the
Uncaught (in promise) 123 //highlighted as error
once you execute n.catch(console.log), void 0
.
BTW: Notice that Chrome Browser removes
Yes, the console output in Chrome may be something living.
I'd like to propose this as fix for Issue https://github.com/bluejava/zousan/issues/7
It will add these changes:
new
Zousan.resolve