JavaScript · Junior · Question 33 of 75

Which states can a promise be in?

Explanation

A promise starts pending and settles exactly once into fulfilled or rejected. Further resolve/reject calls are ignored. A promise can't be cancelled - use AbortController to cancel operations.

Further reading

Problem with a question

JavaScript · Junior · question 33

Test yourself

Take the JavaScript · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz