paint-brush
JavaScript Promises, Callbacks, and Async/Await for Beginnersby@sujan-chhetri
7,583 reads
7,583 reads

JavaScript Promises, Callbacks, and Async/Await for Beginners

by Sujan Chhetri4mNovember 18th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

JavaScript Promises, Callbacks, and Async/Await for Beginners are great and solve the looping problem with callbacks. The core idea behind promises is that a promise represents the result of an asynchronous operation. A promise in JavaScript is the same promise that we make in our life. If I promise to do something for a friend then it has two results: If I fulfill that promise by working on it then he will be happy or say it’s resolved in terms of Javascript. And if the promise is never fulfilled by me then I failed to keep my promise.

Coin Mentioned

Mention Thumbnail
featured image - JavaScript Promises, Callbacks, and Async/Await for Beginners
Sujan Chhetri HackerNoon profile picture
Sujan Chhetri

Sujan Chhetri

@sujan-chhetri

Backend Developer.Interested in creating scalable & secure platforms.Let's create the web better.

Learn More
LEARN MORE ABOUT @SUJAN-CHHETRI'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Sujan Chhetri HackerNoon profile picture
Sujan Chhetri@sujan-chhetri
Backend Developer.Interested in creating scalable & secure platforms.Let's create the web better.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Github
Github
Buzzsumo
Opensourceagenda
Gitplanet
Gitplanet
Learnrepo
Awesomeopensource