Skip to content

Commit

Permalink
Update 0-module-and-module-source.emu
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
  • Loading branch information
2 people authored and kriskowal committed Aug 18, 2022
1 parent a7d4c2a commit 0a296f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 0-module-and-module-source.emu
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ location: https://tc39.es/proposal-compartments/
1. Let _rejectedClosure_ be a new Abstract Closure with parameters (_error_) that captures _promiseCapability_ and performs the following steps when called:
1. Perform ! Call(_promiseCapability_.[[Reject]], *undefined*, &laquo; _error_ &raquo;).
1. Return ~unused~.
1. Let _onRejected_ be CreateBuiltinFunction(_rejectedClosure_, 0, *""*, &laquo; &raquo;).
1. Let _onRejected_ be CreateBuiltinFunction(_rejectedClosure_, 1, *""*, &laquo; &raquo;).
1. Perform PerformPromiseThen(_importHookPromise_, _onFulfilled_, _onRejected_).
1. Return ~unused~.
</emu-alg>
Expand Down

0 comments on commit 0a296f2

Please sign in to comment.