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

7 lines
125 B
TypeScript

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