InterviewSolution
Saved Bookmarks
| 1. |
What are the states of Promises in ES6? |
|
Answer» Promises mainly possess three states as follows:
The promise will be immutable once it has been fulfilled or rejected. A rejected FUNCTION and a resolve function are the two arguments passed into the Promise() constructor. It returns either the first or second parameter, DEPENDING on the asynchronous OPERATION. |
|