TypeScript/tests/baselines/reference/for-of9.types
2015-02-26 18:17:08 -08:00

11 lines
199 B
Text

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