A Promise is a primitive data type that represents a future value. It's a JavaScript object with two pieces of information: the promise state, and a value or error. A promise is settled when the promise has either fulfilled or rejected. With 30+ real-world exercises you'll transform knowledge into a practical skill that will make you a better developer.
Table of contents
What's a Promise ?What does await actually do?How about async ?Why async & await are inseparableMaster Asynchronous JavaScript π10 Comments
Sort: