16 lines
614 B
Text
16 lines
614 B
Text
=== 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, --, --), Decl(lib.d.ts, --, --))
|
|
|
|
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))
|
|
}
|