mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
dcc16d9314
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: RyanCavanaugh <[email protected]>
15 lines
347 B
Plaintext
15 lines
347 B
Plaintext
//// [tests/cases/compiler/jsExpandoAssignmentElementAccess.ts] ////
|
|
|
|
=== repro.js ===
|
|
var x = {};
|
|
>x : Symbol(x, Decl(repro.js, 0, 3))
|
|
|
|
x['if'] = 1;
|
|
>x : Symbol(x, Decl(repro.js, 0, 3))
|
|
>'if' : Symbol('if', Decl(repro.js, 0, 11))
|
|
|
|
x['else'] = 1;
|
|
>x : Symbol(x, Decl(repro.js, 0, 3))
|
|
>'else' : Symbol('else', Decl(repro.js, 1, 12))
|
|
|