Creates a new resolved promise for the provided value.
A value or promise.
A promise whose internal state matches the provided promise.
Creates a new resolved promise .
A resolved promise.
Creates a new resolved promise for the provided value.
Param: value
A value or promise.
Returns
A promise whose internal state matches the provided promise.