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

7 lines
128 B
TypeScript

//@target: ES6
var k: string, v: boolean;
var map = new Map([["", true]]);
for ([k = false, v = ""] of map) {
k;
v;
}