Skip to content
7 changes: 5 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -49546,8 +49546,11 @@ <h1>
</dl>
<emu-alg>
1. If IsPromise(_x_) is *true*, then
1. Let _xConstructor_ be ? Get(_x_, *"constructor"*).
1. If SameValue(_xConstructor_, _C_) is *true*, return _x_.
1. Assert: _x_ is an ordinary object.
1. Let _xProto_ be ! _x_.[[GetPrototypeOf]]().

Check warning on line 49550 in spec.html

View workflow job for this annotation

GitHub Actions / check for newly-introduced spelling errors

Potential Typo

"xProto" is not a previously used word or composed of previously used words. Perhaps it is a typo?
1. Let _CPrototype_ be ? Get(_C_, *"prototype"*).

Check warning on line 49551 in spec.html

View workflow job for this annotation

GitHub Actions / check for newly-introduced spelling errors

Potential Typo

"CPrototype" is not a previously used word or composed of previously used words. Perhaps it is a typo?
1. NOTE: When _C_ is the intrinsic %Promise%, the above step cannot throw and always results in the intrinsic %Promise.prototype%.
1. If SameValue(_xProto_, _CPrototype_) is *true*, return _x_.

Check warning on line 49553 in spec.html

View workflow job for this annotation

GitHub Actions / check for newly-introduced spelling errors

Potential Typo

"CPrototype" is not a previously used word or composed of previously used words. Perhaps it is a typo?

Check warning on line 49553 in spec.html

View workflow job for this annotation

GitHub Actions / check for newly-introduced spelling errors

Potential Typo

"xProto" is not a previously used word or composed of previously used words. Perhaps it is a typo?
1. Let _promiseCapability_ be ? NewPromiseCapability(_C_).
1. Perform ? Call(_promiseCapability_.[[Resolve]], *undefined*, « _x_ »).
1. Return _promiseCapability_.[[Promise]].
Expand Down
Loading