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

6 lines
105 B
TypeScript

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