15 lines
394 B
Text
15 lines
394 B
Text
=== tests/cases/conformance/statements/for-ofStatements/ES5For-of1.ts ===
|
|
for (var v of ['a', 'b', 'c']) {
|
|
>v : string
|
|
>['a', 'b', 'c'] : string[]
|
|
>'a' : "a"
|
|
>'b' : "b"
|
|
>'c' : "c"
|
|
|
|
console.log(v);
|
|
>console.log(v) : void
|
|
>console.log : (message?: any, ...optionalParams: any[]) => void
|
|
>console : Console
|
|
>log : (message?: any, ...optionalParams: any[]) => void
|
|
>v : string
|
|
}
|