re: 7 Reasons Why JavaScript Async/Await Is Better Than Plain Promises (Tutorial) VIEW POST

TOP OF THREAD FULL DISCUSSION
re: You can’t set breakpoints in arrow functions that return expressions (no body). Works fine in chrome dev tools. I like a lot about await, but I ...
 

I share your dislike of try/catch, but it's the only way to handle errors in synchronous code, so we don't really have a choice. Async/await enables us to use just 1 approach to handle both sync & async errors. I'd prefer to handle all errors in the same way, even if it's not my favorite way πŸ€·β€β™€οΈ

code of conduct - report abuse