16 lines
690 B
Text
16 lines
690 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.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.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))
|
|
}
|