mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
8 lines
144 B
TypeScript
8 lines
144 B
TypeScript
|
//@sourcemap: true
|
||
|
//@downlevelIteration: true
|
||
|
function foo() {
|
||
|
return { x: 0 };
|
||
|
}
|
||
|
for (foo().x of ['a', 'b', 'c']) {
|
||
|
var p = foo().x;
|
||
|
}
|