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

7 lines
91 B
TypeScript

for (let v of []) {
v;
for (let v of [v]) {
var x = v;
v++;
}
}