7 lines
197 B
TypeScript
7 lines
197 B
TypeScript
//// [restElementWithAssignmentPattern2.ts]
|
|
var a: string, b: number;
|
|
[...{ 0: a = "", b }] = ["", 1];
|
|
|
|
//// [restElementWithAssignmentPattern2.js]
|
|
var a, b;
|
|
[...{ 0: a = "", b }] = ["", 1];
|