Debian Codegraph @

packages/babel-plugin-proposal-destructuring-private/test/fixtures/assumption-objectRestNoSymbols/variable-declaration/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 var { [C.a]: a, #x: x, [C.b]: b, #y: y, ...z } = C;
10 result = { a, b, x, y, z };
11 }
12 }
13 expect(result).toStrictEqual({
14 a: "a", b: "b", x: "#x", y: "#y", z: { c: "c" }
15 });