swc/crates/swc_ecma_parser/tests/tsc/for-of41.ts

6 lines
106 B
TypeScript

//@target: ES6
var array = [{x: [0], y: {p: ""}}]
for (var {x: [a], y: {p}} of array) {
a;
p;
}