They/them. Software Consultant & Developer at Atomic Object Ann Arbor. Loves computer networks and correctness in software development. Always digging for the hidden assumption.
JavaScript Promises are great, but there's a number of subtle misuses that can break them. We'll walk through some common mistakes and how to avoid them.
The best way to deal with asynchronous JavaScript is ES6 Promises. Here's an overview of JavaScript Promises, error catching, and how to make your own.