Synchronous vs Asynchronous Errors

The asynchronous coding styles used in Javascript can be non-intuitive for developers more familiar with imperative languages. That can be dangerous because things look just familiar enough that people can make dangerous assumptions. That’s compounded by the fact that Javascript has evolved from callbacks, to promises, to async/await very rapidly. It can get complicated if you have to work with code written in a mix of the three different styles.…