r/learnjavascript • • Jan 26 '20

JavaScript Promises In 90 Seconds #JavaScriptJanuary

https://youtu.be/rFWphynq1f8
61 Upvotes

12 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Jan 27 '20

[deleted]

0

u/cannabis_detox_ Jan 27 '20

uhhh that's a single callback. do you seriously not understand what callback hell is despite being so confident about "solving" it? lmfao. just fuck off with your flavor of the month bullshit. i know what im talking about because i actually write real code.

0

u/[deleted] Jan 28 '20

[deleted]

1

u/cannabis_detox_ Jan 28 '20

all you are doing is changing the way the callbacks look. you are not getting yourself out of callback hell. callback hell arises from chaining lambdas together. you can just as easily define the callback functions without async/await and get the exact same result. changing lambdas into defined async functions does nothing special.

0

u/[deleted] Jan 28 '20

[deleted]

→ More replies (0)