Debian Codegraph @

packages/babel-plugin-proposal-destructuring-private/test/fixtures/assignment/object-rest-and-keys/exec.js

raw
1 let result;
2 class C {
3 static #x = "#x";
4 static y = "y";
5 static a = "a";
6 static b = "b";
7 static c = "c";
8 static {
9 let x, y, z;
10 ({ #x: x, y, ...z } = C);
11 result = { x, y, z };
12 }
13 }
14 expect(result).toStrictEqual({
15 x: "#x", y: "y", z: { a: "a", b: "b", c: "c" }
16 });