JS Coding Questions Logo
JS Coding Questions
#54💼 Interview

Explain the three states of promise

Advertisement

728x90

Promises have three states:

1. Pending: This is an initial state of the Promise before an operation begins

2. Fulfilled: This state indicates that the specified operation was completed.

3. Rejected: This state indicates that the operation did not complete. In this case an error value will be thrown.

Advertisement

Responsive Ad
🎯 Practice NowRelated Challenge

JavaScript Coding Exercise 55

Test your knowledge with this interactive coding challenge.

Start Coding

Advertisement

728x90
54of476