4 ms·
He literally talks about the work-arounds you can use to delay the function call in the article, and explains why you would prefer it to be default behavior. E
by lilactown 9y ago
He literally talks about the work-arounds you can use to delay the function call in the article, and explains why you would prefer it to be default behavior.
Error handling is annoying, and this is (eventually going to be) fixed in Node.js. In the browser, you can add some listeners: http://2ality.com/2016/04/unhandled-rejections.html http://2ality.com/2016/04/unhandled-rejections.html