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
149 B
JavaScript
11 lines
149 B
JavaScript
let a, x, b;
|
|
class C {
|
|
static #x;
|
|
static {
|
|
({ a = 1, #x: x = 2, b = 3 } = C);
|
|
}
|
|
}
|
|
expect(a).toBe(1);
|
|
expect(x).toBe(2);
|
|
expect(b).toBe(3);
|