TypeScript/tests/cases/compiler/assignmentNestedInLiterals.ts

11 lines
175 B
TypeScript
Raw Normal View History

// @noImplicitAny: true
var target, x, y;
target = [x = 1, y = x];
var aegis, a, b;
aegis = { x: a = 1, y: b = a };
2017-02-09 01:14:36 +01:00
var kowloona, c, d;
for (kowloona of [c = 1, d = c]) {
}