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

17 lines
211 B
JavaScript

class C {
static a = "a";
static #x;
static {
var x,
a = "a";
for (const _ref of [C]) {
x = _ref.#x, {
[a]: a
} = _ref;
{
const a = "A";
}
}
}
}