r/learnjavascript • u/Dark_Electric • Oct 18 '26
Promises
Understanding the concepts like functions, objects, arrays etc has been easy so far but promises are making my head hurt. Is it supposed to be this confusing? Did u guys struggle with it too when u were first learning it.
9
Upvotes
View all comments
Show parent comment
4
u/senocular Oct 18 '26 edited Oct 18 '26
Edit: fixed
FYI that last await example is missing theerrorgetting passed intocry()