TypeScript/tests/baselines/reference/for-of36.types
2017-11-30 10:37:17 -08:00

14 lines
308 B
Text

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