TypeScript/tests/baselines/reference/for-of37.types
2015-04-13 14:29:37 -07:00

18 lines
626 B
Plaintext

=== tests/cases/conformance/es6/for-ofStatements/for-of37.ts ===
var map = new Map([["", true]]);
>map : Map<string, boolean>, Symbol(map, Decl(for-of37.ts, 0, 3))
>new Map([["", true]]) : Map<string, boolean>
>Map : MapConstructor, Symbol(Map, Decl(lib.d.ts, 1837, 1), Decl(lib.d.ts, 1859, 11))
>[["", true]] : [string, boolean][]
>["", true] : [string, boolean]
>"" : string
>true : boolean
for (var v of map) {
>v : [string, boolean], Symbol(v, Decl(for-of37.ts, 1, 8))
>map : Map<string, boolean>, Symbol(map, Decl(for-of37.ts, 0, 3))
v;
>v : [string, boolean], Symbol(v, Decl(for-of37.ts, 1, 8))
}