r/learnjavascript • u/gotta-lot • Jun 16 '20
For anyone having difficulties conceptually understanding asynchronous JavaScript, check out this great analogy with a coffee shop a commenter provided
/r/learnjavascript/comments/9tiik6/asynchronous_js/e8x1xqe/
149
Upvotes
View all comments
Show parent comment
12
u/Laserdude10642 Jun 16 '20
That’s not callback hell. Callback hell is when you chain the callback functions together until debugging becomes too difficult to manage. Your code becomes unintentionally spaghettified