TypeScript/tests/baselines/reference/for-of36.types
2015-04-13 14:29:37 -07:00

14 lines
467 B
Text

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