DEV Community

Harit Himanshu
Harit Himanshu

Posted on

Answer: How can a Promise be resolved and pending?

It's right there in the section you linked to:

A promise is resolved if it is settled or if it has been “locked in” to match the state of another promise. [...]

That other promises might still be pending. Lets take a look at an example:

var p = new





?signin=true

Top comments (0)