TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of44.ts
2015-02-26 18:17:44 -08:00

6 lines
175 B
TypeScript

//@target: ES6
var array: [number, string | boolean | symbol][] = [[0, ""], [0, true], [1, Symbol()]]
for (var [num, strBoolSym] of array) {
num;
strBoolSym;
}