9 lines
148 B
TypeScript
9 lines
148 B
TypeScript
//// [arrayAssignmentPatternWithAny.ts]
|
|
var a: any;
|
|
var x: string;
|
|
[x] = a;
|
|
|
|
//// [arrayAssignmentPatternWithAny.js]
|
|
var a;
|
|
var x;
|
|
x = a[0];
|