Skip to content

Commit

Permalink
Avoid redefining base
Browse files Browse the repository at this point in the history
  • Loading branch information
shvaikalesh committed Aug 15, 2020
1 parent 3a705d9 commit 6cd7ab4
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 @@ -4377,8 +4377,8 @@ <h1>GetValue ( _V_ )</h1>
1. If IsPropertyReference(_V_) is *true*, then
1. If HasPrimitiveBase(_V_) is *true*, then
1. Assert: In this case, _base_ will never be *undefined* or *null*.
1. [id="step-getvalue-toobject"] Set _base_ to ! ToObject(_base_).
1. Return ? _base_.[[Get]](_V_.[[ReferencedName]], GetThisValue(_V_)).
1. [id="step-getvalue-toobject"] Let _baseObj_ be ! ToObject(_base_).
1. Return ? _baseObj_.[[Get]](_V_.[[ReferencedName]], GetThisValue(_V_)).
1. Else,
1. Assert: _base_ is an Environment Record.
1. Return ? _base_.GetBindingValue(_V_.[[ReferencedName]], _V_.[[Strict]]) (see <emu-xref href="#sec-environment-records"></emu-xref>).
Expand Down

0 comments on commit 6cd7ab4

Please sign in to comment.