swc/crates/swc_ecma_parser/tests/tsc/ES5For-of9.ts

8 lines
120 B
TypeScript

function foo() {
return { x: 0 };
}
for (foo().x of []) {
for (foo().x of []) {
var p = foo().x;
}
}