Files
Huáng JùnliàngandGitHub 6eb3cdfd69 Fix: improve object rest handling in array pattern (#17281)
* 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
2025-05-05 14:09:49 -04:00

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;
}
}