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

20 lines
246 B
JavaScript

let result;
class C {
static #x = "#x";
static #y = "#y";
static a = "a";
static b = "b";
static c = "c";
static {
let x, y, z;
x = C.#x, y = C.#y, {
...z
} = C;
result = {
x,
y,
z
};
}
}