Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Try / catch is the exception, if you don't await then your catch handler won't work. https://jakearchibald.com/2017/await-vs-return-vs-return-awa...


Semi funny that this exchange is kinda like proof of why JS catches the hate it does.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: