Skip to content

Commit

Permalink
make BindThisValue return unused, as caught by linter
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot committed Jul 29, 2024
1 parent 11661bd commit cb399ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -10609,7 +10609,7 @@ <h1>
BindThisValue (
_envRec_: a Function Environment Record,
_V_: an ECMAScript language value,
): either a normal completion containing an ECMAScript language value or a throw completion
): either a normal completion containing ~unused~ or a throw completion
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -10620,7 +10620,7 @@ <h1>
1. If _envRec_.[[ThisBindingStatus]] is ~initialized~, throw a *ReferenceError* exception.
1. Set _envRec_.[[ThisValue]] to _V_.
1. Set _envRec_.[[ThisBindingStatus]] to ~initialized~.
1. Return _V_.
1. Return ~unused~.
</emu-alg>
</emu-clause>

Expand Down

0 comments on commit cb399ae

Please sign in to comment.