14 lines
467 B
Text
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))
|
|
}
|