TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of46.ts

7 lines
134 B
TypeScript

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