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