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
Copy file name to clipboardExpand all lines: tests/baselines/reference/crashInGetTextOfComputedPropertyName.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -36,12 +36,12 @@ exports.__esModule = true;
36
36
varitemId='some-id';
37
37
// --- test on first level ---
38
38
varitems={};
39
-
var_a=itemId,itemOk1=items[_a];
39
+
var_a=items,_b=itemId,itemOk1=_a[_b];
40
40
typeofitemOk1;// pass
41
41
varobjWithItems={items: {}};
42
42
varitemOk2=objWithItems.items[itemId];
43
43
typeofitemOk2;// pass
44
-
var_b=objWithItems.items/*happens when default value is provided*/,_c=itemId,itemWithTSError=(_b===void0 ? {}/*happens when default value is provided*/ : _b)[_c];
44
+
var_c=objWithItems,_d=_c.items/*happens when default value is provided*/,_e=itemId,itemWithTSError=(_d===void0 ? {}/*happens when default value is provided*/ : _d)[_e];
45
45
// in order to re-produce the error, uncomment next line:
0 commit comments