Skip to content

Commit

Permalink
Normative: Strictness check for object's SetMutableBinding
Browse files Browse the repository at this point in the history
Fixes tc39#2093
  • Loading branch information
leobalter committed Jul 30, 2020
1 parent db8aa37 commit df428d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -6626,6 +6626,9 @@ <h1>SetMutableBinding ( _N_, _V_, _S_ )</h1>
<emu-alg>
1. Let _envRec_ be the object Environment Record for which the method was invoked.
1. Let _bindings_ be the binding object for _envRec_.
1. Let _value_ be ? HasProperty(_bindings_, _N_).
1. If _value_ is *false*, then
1. If _S_ is *true*, throw a *ReferenceError* exception.
1. Return ? Set(_bindings_, _N_, _V_, _S_).
</emu-alg>
</emu-clause>
Expand Down

0 comments on commit df428d1

Please sign in to comment.