Which of the following is not a state of a Promise?

  • Completed
  • Fulfilled
  • Rejected
  • Pending
"Completed" is not a standard state of a Promise. The valid states are "Pending," "Fulfilled," and "Rejected." A Promise is initially in the "Pending" state and transitions to either "Fulfilled" or "Rejected" based on the outcome of the asynchronous operation it represents.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *