mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
Co-authored-by: Nicolò Ribaudo <[email protected]> Co-authored-by: Justin Ridgewell <[email protected]>
12 lines
143 B
JavaScript
12 lines
143 B
JavaScript
let x;
|
|
class C {
|
|
static #x;
|
|
static #y;
|
|
static #z;
|
|
static {
|
|
let z;
|
|
([C.#x, { #x: x }, ...z] = [0, C]);
|
|
}
|
|
}
|
|
expect(x).toBe(0);
|