Skip to content

Commit

Permalink
Throw ReferenceError inline
Browse files Browse the repository at this point in the history
  • Loading branch information
shvaikalesh committed Jul 8, 2020
1 parent 2b37baf commit d0d5346
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -4274,8 +4274,7 @@ <h1>PutValue ( _V_, _W_ )</h1>
1. If Type(_V_) is not Reference, throw a *ReferenceError* exception.
1. Let _base_ be _V_.[[Base]].
1. If IsUnresolvableReference(_V_) is *true*, then
1. If _V_.[[Strict]] is *true*, then
1. Throw a *ReferenceError* exception.
1. If _V_.[[Strict]] is *true*, throw a *ReferenceError* exception.
1. Let _globalObj_ be GetGlobalObject().
1. Return ? Set(_globalObj_, _V_.[[ReferencedName]], _W_, *false*).
1. Else if IsPropertyReference(_V_) is *true*, then
Expand Down

0 comments on commit d0d5346

Please sign in to comment.