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]>
10 lines
171 B
JavaScript
10 lines
171 B
JavaScript
let result;
|
|
class C {
|
|
static #x;
|
|
static {
|
|
var { a = 1, #x: x = 2, b = 3 } = C;
|
|
result = { a, x, b };
|
|
}
|
|
}
|
|
expect(result).toStrictEqual({ a: 1, x: 2, b: 3 });
|