TypeScript/tests/baselines/reference/for-of9.types
2016-09-01 14:25:44 -07:00

14 lines
239 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" : "hello"
for (v of "hello") { }
>v : string
>"hello" : "hello"