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
1
u/IAmTheRedditBot Oct 18 '26 edited Oct 18 '26
Tip: if it is confusing try focus on one part at a time like learn how to construct a Promise you should be able to do that and also learn what Promises are for you should also be able to do that. Then when you get that get into consuming a Promise learn how .then() actually works, learn why it exists, try focus on that for a bit then learn .catch
I strongly recommend you first understand what asynchronous operations are because if you don't you will obviously see no purpose of Promises, but please don't skip it, async is a very major part of web development believe me.
Hope this helps.