Fixes #34642 but, notably, doesn't actually make the assignment into a working declaration. It just fixes the crash.
4 lines
63 B
TypeScript
4 lines
63 B
TypeScript
// Should not crash: #34642
|
|
var arr = [];
|
|
arr[0].prop[2] = {};
|