Debian Codegraph @

packages/babel-plugin-proposal-destructuring-private/test/fixtures/assignment/array-rest-destructuring-middle/exec.js

raw
1 let x, y, z;
2 class C {
3 static #x;
4 static {
5 ([{ y }, { #x: x = y }, ...z] = [{ y: 1}, C]);
6 }
7 }
8
9 expect(x).toBe(1);
10 expect(z).toStrictEqual([]);