mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 15:42:51 +03:00
3 lines
89 B
TypeScript
3 lines
89 B
TypeScript
|
var a: string, b: number;
|
||
|
var tuple: [string, number] = ["", 1];
|
||
|
[...[a, b = 0]] = tuple;
|