TypeScript/tests/baselines/reference/for-of9.types
2015-04-15 16:44:20 -07:00

14 lines
237 B
Plaintext

=== tests/cases/conformance/es6/for-ofStatements/for-of9.ts ===
var v: string;
>v : string
for (v of ["hello"]) { }
>v : string
>["hello"] : string[]
>"hello" : string
for (v of "hello") { }
>v : string
>"hello" : string