JavaScript Promises Explained By Gambling At A Casino

added by JavaScript Kicks
9/11/2018 3:50:23 AM


We all love the asynchronous capabilities of JavaScript. In fact, we love them so much that sometimes, we overindulge. And then we get code that looks like this " pyramid of doom ". Image Credit This is commonly known as "callback hell" because you probably don't want to re-read that code and try to understand how everything works, and in what sequence it works.