mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
14 lines
174 B
JavaScript
14 lines
174 B
JavaScript
class A {
|
|
counter = 0;
|
|
#method() {}
|
|
self() {
|
|
this.counter++;
|
|
return this;
|
|
}
|
|
|
|
constructor() {
|
|
this.self().#method = 2;
|
|
([this.#method] = [2]);
|
|
}
|
|
}
|