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
22 lines
238 B
JavaScript
22 lines
238 B
JavaScript
let result;
|
|
class C {
|
|
static x = "x";
|
|
static y = "y";
|
|
static z = "z";
|
|
static #x = C;
|
|
static {
|
|
var x, y, z;
|
|
({
|
|
x
|
|
} = C), {
|
|
y,
|
|
...z
|
|
} = C.#x;
|
|
result = {
|
|
x,
|
|
y,
|
|
z
|
|
};
|
|
}
|
|
}
|