Promises in JavaScript

In this tutorial we will study what are the Promises in JavaScript, What are the states of JavaScript Promises, How to create a promise in JavaScript (then() for a resolved promise, and catch() method for rejected promise), How to convert promise to array JavaScript with the help of syntax and example.