Files
Nicolò RibaudoandGitHub aa74c34398 Avoid printing unnecessary parens around object destructuring (#16712)
* Add test

* Avoid printing unnecessary parens around object destructuring

* Update fixtures
2024-08-02 13:48:02 +02:00

14 lines
217 B
JavaScript

var _c2;
({
a1
} = c1);
var _c = c2;
({
a2
} = _c);
b2 = babelHelpers.objectWithoutProperties(_c, ["a2"]);
_c;
console.log((_c2 = c3, {
a3
} = _c2, b3 = babelHelpers.objectWithoutProperties(_c2, ["a3"]), _c2));