2015-03-05 03:39:49 +01:00
|
|
|
//// [ES5For-of29.ts]
|
|
|
|
for (const {x: a = 0, y: b = 1} of [2, 3]) {
|
|
|
|
a;
|
|
|
|
b;
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [ES5For-of29.js]
|
2015-03-09 21:32:02 +01:00
|
|
|
for (var _i = 0, _a = [
|
|
|
|
2,
|
|
|
|
3
|
|
|
|
]; _i < _a.length; _i++) {
|
2015-03-05 03:39:49 +01:00
|
|
|
var _b = _a[_i], _c = _b.x, a = _c === void 0 ? 0 : _c, _d = _b.y, b = _d === void 0 ? 1 : _d;
|
|
|
|
a;
|
|
|
|
b;
|
|
|
|
}
|