Skip to content

Commit a854150

Browse files
committed
Editorial: swap order of arguments to PrivateSet
1 parent cad8156 commit a854150

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
@@ -4108,7 +4108,7 @@ <h1>
41084108
1. If IsPropertyReference(_V_) is *true*, then
41094109
1. [id="step-putvalue-toobject"] Let _baseObj_ be ? ToObject(_V_.[[Base]]).
41104110
1. If IsPrivateReference(_V_) is *true*, then
4111-
1. Return ? PrivateSet(_V_.[[ReferencedName]], _baseObj_, _W_).
4111+
1. Return ? PrivateSet(_baseObj_, _V_.[[ReferencedName]], _W_).
41124112
1. Let _succeeded_ be ? _baseObj_.[[Set]](_V_.[[ReferencedName]], _W_, GetThisValue(_V_)).
41134113
1. If _succeeded_ is *false* and _V_.[[Strict]] is *true*, throw a *TypeError* exception.
41144114
1. Return.
@@ -6634,8 +6634,8 @@ <h1>
66346634
<emu-clause id="sec-privateset" type="abstract operation">
66356635
<h1>
66366636
PrivateSet (
6637-
_P_: a Private Name,
66386637
_O_: an Object,
6638+
_P_: a Private Name,
66396639
_value_: an ECMAScript language value,
66406640
)
66416641
</h1>

0 commit comments

Comments
 (0)