TypeScript/tests/baselines/reference/for-of44.symbols
2015-06-15 12:04:15 -07:00

17 lines
618 B
Plaintext

=== tests/cases/conformance/es6/for-ofStatements/for-of44.ts ===
var array: [number, string | boolean | symbol][] = [[0, ""], [0, true], [1, Symbol()]]
>array : Symbol(array, Decl(for-of44.ts, 0, 3))
>Symbol : Symbol(Symbol, Decl(lib.d.ts, 1199, 52), Decl(lib.d.ts, 1305, 11))
for (var [num, strBoolSym] of array) {
>num : Symbol(num, Decl(for-of44.ts, 1, 10))
>strBoolSym : Symbol(strBoolSym, Decl(for-of44.ts, 1, 14))
>array : Symbol(array, Decl(for-of44.ts, 0, 3))
num;
>num : Symbol(num, Decl(for-of44.ts, 1, 10))
strBoolSym;
>strBoolSym : Symbol(strBoolSym, Decl(for-of44.ts, 1, 14))
}