News for hackers. Stuff that matters.
Re:Code optimizations when using async/await by WolfOliver on Tuesday January 04, 2022 @03:37PM (#29800089)
so console.log(ex) is never executed?
Re:Code optimizations when using async/await by WolfOliver on Tuesday January 04, 2022 @03:50PM (#29800269)
you have to execute it like this:

await foo();

Then you will see the error