Files
tsgo/testdata/tests/cases/compiler/jsExpandoAssignmentElementAccess.ts
dcc16d9314 Fix nil pointer in transformExpandoAssignment for element access expressions (#3723)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: RyanCavanaugh <[email protected]>
2026-05-08 03:09:28 +00:00

10 lines
152 B
TypeScript

// @allowJs: true
// @checkJs: true
// @declaration: true
// @emitDeclarationOnly: true
// @filename: repro.js
var x = {};
x['if'] = 1;
x['else'] = 1;