Creating a JavaScript promise from scratch, part 7: Unhandled promise rejections
This post originally appeared on the Human Who Codes blog on January 19, 2021.
When promises were introduced in ECMAScript 2015, they had an interesting flaw: if a promise didn't have a rejection handler and was later rejected, you would have no idea...
hashnode.humanwhocodes.com29 min read