Files
2022-05-18 00:02:58 +02:00

14 lines
242 B
JavaScript

let result;
class C {
static #x = "#x";
static #y = "#y";
static a = "a";
static b = "b";
static c = "c";
static {
var a, b, x, y, z;
({ [C.a]: a, #x: x, [C.b]: b, #y: y, ...z } = C);
result = { a, b, x, y, z };
}
}