2015-03-06 00:21:00 +01:00
|
|
|
=== tests/cases/conformance/statements/for-ofStatements/ES5For-of15.ts ===
|
|
|
|
for (let v of []) {
|
2015-04-16 01:44:20 +02:00
|
|
|
>v : any
|
2015-03-06 00:21:00 +01:00
|
|
|
>[] : undefined[]
|
|
|
|
|
|
|
|
v;
|
2015-04-16 01:44:20 +02:00
|
|
|
>v : any
|
2015-03-06 00:21:00 +01:00
|
|
|
|
|
|
|
for (const v of []) {
|
2015-04-16 01:44:20 +02:00
|
|
|
>v : any
|
2015-03-06 00:21:00 +01:00
|
|
|
>[] : undefined[]
|
|
|
|
|
|
|
|
var x = v;
|
2015-04-16 01:44:20 +02:00
|
|
|
>x : any
|
|
|
|
>v : any
|
2015-03-06 00:21:00 +01:00
|
|
|
}
|
|
|
|
}
|