mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* Add test * Avoid printing unnecessary parens around object destructuring * Update fixtures
20 lines
246 B
JavaScript
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
|
|
};
|
|
}
|
|
}
|