A promise is settled when it is fulfilled or rejected. Its state and associated value are then permanent; while pending, it has not yet settled. section 8.1.1
Figure 8.1 The possible states of a promise: pending, fulfilled, rejected. The value associated with the rejected state is often called a reason.
The diagram shows the three possible promise states and the settled outcomes. section 8.1.1
Resolving with another promise
Resolving a new promise with an already fulfilled promise leads to fulfillment; resolving with a rejected promise leads to rejection. section 8.1.1
