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

13 lines
474 B
Plaintext

=== tests/cases/conformance/es6/for-ofStatements/for-of13.ts ===
var v: string;
>v : string, Symbol(v, Decl(for-of13.ts, 0, 3))
for (v of [""].values()) { }
>v : string, Symbol(v, Decl(for-of13.ts, 0, 3))
>[""].values() : IterableIterator<string>
>[""].values : () => IterableIterator<string>, Symbol(Array.values, Decl(lib.d.ts, 1423, 37))
>[""] : string[]
>"" : string
>values : () => IterableIterator<string>, Symbol(Array.values, Decl(lib.d.ts, 1423, 37))