Answer: How can a Promise be resolved and pending?
Harit Himanshu

Harit Himanshu @harittweets

About: I am hands-on software professional with more than a decade of experience in building and shipping products at companies of small to large sizes. contributed in Advertising,CleanTech,Security,FinTech

Location:
Victoria, BC
Joined:
Sep 3, 2019

Answer: How can a Promise be resolved and pending?

Publish Date: Jan 20 '20
6 0

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

Comments 0 total

    Add comment