12 lines
361 B
Text
12 lines
361 B
Text
=== tests/cases/conformance/statements/for-ofStatements/ES5For-of13.ts ===
|
|
for (let v of ['a', 'b', 'c']) {
|
|
>v : string, Symbol(v, Decl(ES5For-of13.ts, 0, 8))
|
|
>['a', 'b', 'c'] : string[]
|
|
>'a' : string
|
|
>'b' : string
|
|
>'c' : string
|
|
|
|
var x = v;
|
|
>x : string, Symbol(x, Decl(ES5For-of13.ts, 1, 7))
|
|
>v : string, Symbol(v, Decl(ES5For-of13.ts, 0, 8))
|
|
}
|