mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
17 lines
247 B
JavaScript
17 lines
247 B
JavaScript
class Foo {
|
|
#m;
|
|
init() {
|
|
this.#m = (...args) => args;
|
|
}
|
|
static test() {
|
|
const f = new Foo();
|
|
f.init();
|
|
return f.#m?.(...arguments);
|
|
}
|
|
|
|
static testNull() {
|
|
const f = new Foo();
|
|
return f.#m?.(...arguments);
|
|
}
|
|
}
|