Creates a new resolved promise.
Symbol
PromiseConstructor.resolve
Creates a new resolved promise for the provided value.
@param value
A promise.
@returns
A promise whose internal state matches the provided promise.
Creates a new resolved promise for the provided value.
@param value
A promise.
@returns
A promise whose internal state matches the provided promise.