Explanation
The Promise object is used for deferred and asynchronous computations. A Promise is in one of the three states:
- pending: initial state, not fulfilled or rejected.
- fulfilled: successful operation
- rejected: failed operation.
- settled: fulfilled or rejected
News
View source on github
// JS fun