TypeScript/tests/baselines/reference/for-of36.types

12 lines
284 B
Text

=== tests/cases/conformance/es6/for-ofStatements/for-of36.ts ===
var tuple: [string, boolean] = ["", true];
>tuple : [string, boolean]
>["", true] : [string, boolean]
for (var v of tuple) {
>v : string | boolean
>tuple : [string, boolean]
v;
>v : string | boolean
}