mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +03:00
b887b30092
**Description:** This is required for https://github.com/swc-project/swc/pull/6981 and https://github.com/swc-project/swc/pull/6950
8 lines
138 B
TypeScript
8 lines
138 B
TypeScript
//@target: ES6
|
|
var x: string, y: number;
|
|
var array = [{ x: "", y: true }]
|
|
enum E { x }
|
|
for ({x, y: y = E.x} of array) {
|
|
x;
|
|
y;
|
|
} |