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

7 lines
117 B
TypeScript

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