20 lines
412 B
Plaintext
20 lines
412 B
Plaintext
=== tests/cases/conformance/statements/for-ofStatements/ES5For-of22.ts ===
|
|
for (var x of [1, 2, 3]) {
|
|
>x : number
|
|
>[1, 2, 3] : number[]
|
|
>1 : 1
|
|
>2 : 2
|
|
>3 : 3
|
|
|
|
let _a = 0;
|
|
>_a : number
|
|
>0 : 0
|
|
|
|
console.log(x);
|
|
>console.log(x) : void
|
|
>console.log : (message?: any, ...optionalParams: any[]) => void
|
|
>console : Console
|
|
>log : (message?: any, ...optionalParams: any[]) => void
|
|
>x : number
|
|
}
|