2015-04-16 01:44:20 +02:00
|
|
|
=== 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))
|
2015-06-15 21:04:15 +02:00
|
|
|
>Symbol : Symbol(Symbol, Decl(lib.d.ts, 1199, 52), Decl(lib.d.ts, 1305, 11))
|
2015-04-16 01:44:20 +02:00
|
|
|
|
|
|
|
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))
|
|
|
|
}
|