2015-02-21 03:00:03 +01:00
|
|
|
=== tests/cases/conformance/es6/for-ofStatements/for-of9.ts ===
|
|
|
|
var v: string;
|
2015-04-16 01:44:20 +02:00
|
|
|
>v : string
|
2015-02-21 03:00:03 +01:00
|
|
|
|
|
|
|
for (v of ["hello"]) { }
|
2015-04-16 01:44:20 +02:00
|
|
|
>v : string
|
2015-02-21 03:00:03 +01:00
|
|
|
>["hello"] : string[]
|
2015-04-13 21:36:11 +02:00
|
|
|
>"hello" : string
|
2015-02-21 03:00:03 +01:00
|
|
|
|
|
|
|
for (v of "hello") { }
|
2015-04-16 01:44:20 +02:00
|
|
|
>v : string
|
2015-04-13 21:36:11 +02:00
|
|
|
>"hello" : string
|
2015-02-21 03:00:03 +01:00
|
|
|
|