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
172 B
JavaScript
12 lines
172 B
JavaScript
let result;
|
|
class C {
|
|
static x = "x";
|
|
static y = "y";
|
|
static z = "z";
|
|
static #x = C;
|
|
static {
|
|
var { x, #x: { y, ...z } } = C;
|
|
result = { x, y, z };
|
|
}
|
|
}
|