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]>
11 lines
134 B
JavaScript
11 lines
134 B
JavaScript
let x, z;
|
|
class C {
|
|
static #x;
|
|
static {
|
|
([{ #x: x = 1 }, ...z] = [C]);
|
|
}
|
|
}
|
|
|
|
expect(x).toBe(1);
|
|
expect(z).toStrictEqual([]);
|