class Foo { static #_ = 42; // static block can not be tranformed as `#_` here static { this.foo = this.#_; } } expect(Foo.foo).toBe(42);