You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. If PrivateBoundIdentifiers of |ClassBody| contains a Private Name _P_ such that _P_.[[Kind]] is either ~method~ or ~accessor~ and _P_.[[Brand]] is _proto_, then
21503
21514
1. Set _F_.[[PrivateBrand]] to _proto_.
21504
21515
1. If PrivateBoundIdentifiers of |ClassBody| contains a Private Name _P_ such that _P_.[[Kind]] is either ~method~ or ~accessor~ and _P_.[[Brand]] is _F_, then
21505
-
1. Perform ? PrivateBrandAdd(_F_, _F_).
21516
+
1. Let _result_ be PrivateBrandAdd(_F_, _F_).
21517
+
1. If _result_ is an abrupt completion, then
21518
+
1. Set the running execution context's PrivateEnvironment to _outerPrivateEnvironment_.
21519
+
1. Return _result_.
21506
21520
1. For each element _fieldRecord_ of _staticFields_, do
21507
-
1. Perform ? DefineField(_F_, _fieldRecord_).
21521
+
1. Let _result_ be DefineField(_F_, _fieldRecord_).
21522
+
1. If _result_ is an abrupt completion, then
21523
+
1. Set the running execution context's PrivateEnvironment to _outerPrivateEnvironment_.
21524
+
1. Return _result_.
21508
21525
1. Set the running execution context's PrivateEnvironment to _outerPrivateEnvironment_.
0 commit comments