mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* add test cases * fix: memoise class binding when lowering static elements and private methods * update test fixtures * update test fixtures
12 lines
142 B
JavaScript
12 lines
142 B
JavaScript
class A {
|
|
#getA() { return A };
|
|
getA() {
|
|
return this.#getA();
|
|
}
|
|
}
|
|
|
|
const oldA = A;
|
|
A = null;
|
|
|
|
expect(new oldA().getA()).toBe(oldA);
|