mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
* refactor: iterate object rest elements only * refactor: use unshiftForXStatementBody * fix: handle object rest in array pattern * update tsconfig.json * improve typings * fix: declare uid identifiers when transforming array pattern within assignment
16 lines
256 B
JavaScript
16 lines
256 B
JavaScript
let a = 0,
|
|
result,
|
|
y;
|
|
for (var _ref of [["0", "1"]]) {
|
|
var _ref2 = _ref;
|
|
var _a = a++;
|
|
({
|
|
[_a]: result
|
|
} = _ref2);
|
|
y = babelHelpers.objectWithoutProperties(_ref2, [_a].map(babelHelpers.toPropertyKey));
|
|
_ref2;
|
|
{
|
|
const a = 1;
|
|
}
|
|
}
|