@@ -738,6 +738,8 @@ class ProxyHandler {
738
738
if (typeof P === \\"symbol\\") {
739
739
return Reflect.set(target, P, V, receiver);
740
740
}
741
+ // The \`receiver\` argument refers to the Proxy exotic object or an object
742
+ // that inherits from it, whereas \`target\` refers to the Proxy target:
741
743
if (target[implSymbol][utils.wrapperSymbol] === receiver) {
742
744
const globalObject = this._globalObject;
743
745
@@ -2960,6 +2962,8 @@ const proxyHandler = {
2960
2962
if (typeof P === \\"symbol\\") {
2961
2963
return Reflect.set(target, P, V, receiver);
2962
2964
}
2965
+ // The \`receiver\` argument refers to the Proxy exotic object or an object
2966
+ // that inherits from it, whereas \`target\` refers to the Proxy target:
2963
2967
if (target[implSymbol][utils.wrapperSymbol] === receiver) {
2964
2968
if (typeof P === \\"string\\") {
2965
2969
let namedValue = V;
@@ -5244,6 +5248,8 @@ const proxyHandler = {
5244
5248
if (typeof P === \\"symbol\\") {
5245
5249
return Reflect.set(target, P, V, receiver);
5246
5250
}
5251
+ // The \`receiver\` argument refers to the Proxy exotic object or an object
5252
+ // that inherits from it, whereas \`target\` refers to the Proxy target:
5247
5253
if (target[implSymbol][utils.wrapperSymbol] === receiver) {
5248
5254
if (typeof P === \\"string\\") {
5249
5255
let namedValue = V;
@@ -7130,6 +7136,8 @@ const proxyHandler = {
7130
7136
if (typeof P === \\"symbol\\") {
7131
7137
return Reflect.set(target, P, V, receiver);
7132
7138
}
7139
+ // The \`receiver\` argument refers to the Proxy exotic object or an object
7140
+ // that inherits from it, whereas \`target\` refers to the Proxy target:
7133
7141
if (target[implSymbol][utils.wrapperSymbol] === receiver) {
7134
7142
}
7135
7143
let ownDesc;
@@ -7955,6 +7963,8 @@ const proxyHandler = {
7955
7963
if (typeof P === \\"symbol\\") {
7956
7964
return Reflect.set(target, P, V, receiver);
7957
7965
}
7966
+ // The \`receiver\` argument refers to the Proxy exotic object or an object
7967
+ // that inherits from it, whereas \`target\` refers to the Proxy target:
7958
7968
if (target[implSymbol][utils.wrapperSymbol] === receiver) {
7959
7969
}
7960
7970
let ownDesc;
@@ -8266,6 +8276,8 @@ const proxyHandler = {
8266
8276
if (typeof P === \\"symbol\\") {
8267
8277
return Reflect.set(target, P, V, receiver);
8268
8278
}
8279
+ // The \`receiver\` argument refers to the Proxy exotic object or an object
8280
+ // that inherits from it, whereas \`target\` refers to the Proxy target:
8269
8281
if (target[implSymbol][utils.wrapperSymbol] === receiver) {
8270
8282
if (typeof P === \\"string\\") {
8271
8283
let namedValue = V;
@@ -9757,6 +9769,8 @@ class ProxyHandler {
9757
9769
if (typeof P === \\"symbol\\") {
9758
9770
return Reflect.set(target, P, V, receiver);
9759
9771
}
9772
+ // The \`receiver\` argument refers to the Proxy exotic object or an object
9773
+ // that inherits from it, whereas \`target\` refers to the Proxy target:
9760
9774
if (target[implSymbol][utils.wrapperSymbol] === receiver) {
9761
9775
const globalObject = this._globalObject;
9762
9776
@@ -11963,6 +11977,8 @@ const proxyHandler = {
11963
11977
if (typeof P === \\"symbol\\") {
11964
11978
return Reflect.set(target, P, V, receiver);
11965
11979
}
11980
+ // The \`receiver\` argument refers to the Proxy exotic object or an object
11981
+ // that inherits from it, whereas \`target\` refers to the Proxy target:
11966
11982
if (target[implSymbol][utils.wrapperSymbol] === receiver) {
11967
11983
if (typeof P === \\"string\\") {
11968
11984
let namedValue = V;
@@ -14232,6 +14248,8 @@ const proxyHandler = {
14232
14248
if (typeof P === \\"symbol\\") {
14233
14249
return Reflect.set(target, P, V, receiver);
14234
14250
}
14251
+ // The \`receiver\` argument refers to the Proxy exotic object or an object
14252
+ // that inherits from it, whereas \`target\` refers to the Proxy target:
14235
14253
if (target[implSymbol][utils.wrapperSymbol] === receiver) {
14236
14254
if (typeof P === \\"string\\") {
14237
14255
let namedValue = V;
@@ -16118,6 +16136,8 @@ const proxyHandler = {
16118
16136
if (typeof P === \\"symbol\\") {
16119
16137
return Reflect.set(target, P, V, receiver);
16120
16138
}
16139
+ // The \`receiver\` argument refers to the Proxy exotic object or an object
16140
+ // that inherits from it, whereas \`target\` refers to the Proxy target:
16121
16141
if (target[implSymbol][utils.wrapperSymbol] === receiver) {
16122
16142
}
16123
16143
let ownDesc;
@@ -16943,6 +16963,8 @@ const proxyHandler = {
16943
16963
if (typeof P === \\"symbol\\") {
16944
16964
return Reflect.set(target, P, V, receiver);
16945
16965
}
16966
+ // The \`receiver\` argument refers to the Proxy exotic object or an object
16967
+ // that inherits from it, whereas \`target\` refers to the Proxy target:
16946
16968
if (target[implSymbol][utils.wrapperSymbol] === receiver) {
16947
16969
}
16948
16970
let ownDesc;
@@ -17254,6 +17276,8 @@ const proxyHandler = {
17254
17276
if (typeof P === \\"symbol\\") {
17255
17277
return Reflect.set(target, P, V, receiver);
17256
17278
}
17279
+ // The \`receiver\` argument refers to the Proxy exotic object or an object
17280
+ // that inherits from it, whereas \`target\` refers to the Proxy target:
17257
17281
if (target[implSymbol][utils.wrapperSymbol] === receiver) {
17258
17282
if (typeof P === \\"string\\") {
17259
17283
let namedValue = V;
0 commit comments