14 lines
239 B
Plaintext
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"
|
|
|