7 lines
168 B
TypeScript
7 lines
168 B
TypeScript
//// [iterableArrayPattern23.ts]
|
|
var a: string, b: boolean;
|
|
[a, b] = { 0: "", 1: true };
|
|
|
|
//// [iterableArrayPattern23.js]
|
|
var a, b;
|
|
[a, b] = { 0: "", 1: true };
|