Skip to content

Commit

Permalink
Eat Completion value
Browse files Browse the repository at this point in the history
The `[[Reject]]` can never fail.
  • Loading branch information
jridgewell committed May 9, 2022
1 parent fd32c2a commit d1812b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -43600,7 +43600,7 @@ <h1>Promise Resolve Functions</h1>
1. Let _resolvingFunctions_ be CreateResolvingFunctions(_promise_).
1. Let _thenCallResult_ be Completion(Call(_then_, _resolution_, &laquo; _resolvingFunctions_.[[Resolve]], _resolvingFunctions_.[[Reject]] &raquo;)).
1. If _thenCallResult_ is an abrupt completion, then
1. Call(_resolvingFunctions_.[[Reject]], *undefined*, &laquo; _thenCallResult_.[[Value]] &raquo;).
1. Perform ! Call(_resolvingFunctions_.[[Reject]], *undefined*, &laquo; _thenCallResult_.[[Value]] &raquo;).
1. Return *undefined*.
</emu-alg>
<p>The *"length"* property of a promise resolve function is *1*<sub>𝔽</sub>.</p>
Expand Down

0 comments on commit d1812b2

Please sign in to comment.