In this lecture, you will learn how to avoid callback hell in your JavaScript program by using promises and chaining then method.
Пікірлер: 11
@GGJP2002 жыл бұрын
thx so much for share this content, i have learned alot with your vids, thx alot ! from brasil
@Babe_Chinwendum2 жыл бұрын
This is too beautiful. Thanks a whole lot
@derekreeter70812 жыл бұрын
Not sure I understand the advantages of promises from this video. Code is just as long and function has less reusability because the countries are hard-coded.
@bishwajeetpandey15702 жыл бұрын
Sir i have only one doubt , after attaching the callback with the promise object then method return this(i.e current calling promise object) and this attached callback will be executed asynchronously after calls tack is empety and promise resolved , suppose this happens and attached callback is executing this callback will return a new floating promise then how binding then function with this floating promise in promise chaining ? 😖 I am very much confused
@BuminKaganHan3 жыл бұрын
We miss you, are you OK?
@procademy3 жыл бұрын
Thank you for your concern :). I am OK now
@procademy3 жыл бұрын
Please share this channel with others if you like my videos...🤝🤝
@Babe_Chinwendum2 жыл бұрын
@@procademy I will do that, sir.
@BuminKaganHan3 жыл бұрын
The code is still looks bad like callback hell. I think Async Await will be look more elegant.