Promises in Javascript: Complete Guide for 2019

Click for: original source

Promises are an important concept that is essential for a JavaScript developer to understand. If this concept is clear, the developer can utilize promises in a variety of ways in their day-to-day lives. An article by Nilesh Sanyal.

In this article, author tried to elaborate on promises in-depth, so you won’t need to go through other resources.

The article covers:

  • What Is a Promise?
  • Promise Use Cases
  • How Promises Work
  • Different States in a Promise
  • Chaining Promises in Javascript
  • How Does Promise.all() Work?
  • Are Javascript Promises Synchronous or Asynchronous?

… and much more. Plenty of code examples explaining the concepts in the article. Nice read for aspiring JavaScript developer.

[Read More]

Tags javascript nodejs app-development