19 lines
591 B
Text
19 lines
591 B
Text
=== tests/cases/conformance/es6/for-ofStatements/for-of42.ts ===
|
|
var array = [{ x: "", y: 0 }]
|
|
>array : Symbol(array, Decl(for-of42.ts, 0, 3))
|
|
>x : Symbol(x, Decl(for-of42.ts, 0, 14))
|
|
>y : Symbol(y, Decl(for-of42.ts, 0, 21))
|
|
|
|
for (var {x: a, y: b} of array) {
|
|
>x : Symbol(x, Decl(for-of42.ts, 0, 14))
|
|
>a : Symbol(a, Decl(for-of42.ts, 1, 10))
|
|
>y : Symbol(y, Decl(for-of42.ts, 0, 21))
|
|
>b : Symbol(b, Decl(for-of42.ts, 1, 15))
|
|
>array : Symbol(array, Decl(for-of42.ts, 0, 3))
|
|
|
|
a;
|
|
>a : Symbol(a, Decl(for-of42.ts, 1, 10))
|
|
|
|
b;
|
|
>b : Symbol(b, Decl(for-of42.ts, 1, 15))
|
|
}
|