Skip to content

Commit a8b44b7

Browse files
bakkotmathiasbynens
authored andcommitted
Editorial: swap order of arguments to PrivateGet (tc39#2504)
1 parent 32524bd commit a8b44b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4076,7 +4076,7 @@ <h1>
40764076
1. If IsPropertyReference(_V_) is *true*, then
40774077
1. [id="step-getvalue-toobject"] Let _baseObj_ be ? ToObject(_V_.[[Base]]).
40784078
1. If IsPrivateReference(_V_) is *true*, then
4079-
1. Return ? PrivateGet(_V_.[[ReferencedName]], _baseObj_).
4079+
1. Return ? PrivateGet(_baseObj_, _V_.[[ReferencedName]]).
40804080
1. Return ? _baseObj_.[[Get]](_V_.[[ReferencedName]], GetThisValue(_V_)).
40814081
1. Else,
40824082
1. Let _base_ be _V_.[[Base]].
@@ -6647,8 +6647,8 @@ <h1>
66476647
<emu-clause id="sec-privateget" type="abstract operation">
66486648
<h1>
66496649
PrivateGet (
6650-
_P_: a Private Name,
66516650
_O_: an Object,
6651+
_P_: a Private Name,
66526652
)
66536653
</h1>
66546654
<dl class="header">

0 commit comments

Comments
 (0)