Skip to content

Commit

Permalink
Normative: Strictness check for object's SetMutableBinding
Browse files Browse the repository at this point in the history
Fixes #2093
  • Loading branch information
leobalter committed Jul 14, 2020
1 parent ff93a3e commit 0a0215d
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 @@ -6551,6 +6551,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 0a0215d

Please sign in to comment.