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
25 lines
420 B
JavaScript
25 lines
420 B
JavaScript
let result;
|
|
class C {
|
|
static #x = "#x";
|
|
static #y = "#y";
|
|
static a = "a";
|
|
static b = "b";
|
|
static c = "c";
|
|
static {
|
|
var _m, _m2;
|
|
var a, b, x, y, z;
|
|
({
|
|
[_m = C.a]: a
|
|
} = C), x = C.#x, {
|
|
[_m2 = C.b]: b
|
|
} = C, y = C.#y, z = babelHelpers.objectWithoutProperties(C, [_m, _m2].map(babelHelpers.toPropertyKey));
|
|
result = {
|
|
a,
|
|
b,
|
|
x,
|
|
y,
|
|
z
|
|
};
|
|
}
|
|
}
|