mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
9 lines
151 B
JavaScript
9 lines
151 B
JavaScript
class Foo {
|
|
static #_ = 42;
|
|
// static block can not be transformed as `#_` here
|
|
static {
|
|
this.foo = this.#_;
|
|
}
|
|
}
|
|
expect(Foo.foo).toBe(42);
|