mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* Add test * Properly map private names in member expresions * More tests * Also map it in classPrivateFieldInitSpec * Add one more test case * Fix it
16 lines
155 B
JavaScript
16 lines
155 B
JavaScript
class A {
|
|
#field;
|
|
|
|
get #getter() {}
|
|
|
|
#method() {}
|
|
|
|
method() {
|
|
this.#field;
|
|
this.#getter;
|
|
this.#method;
|
|
|
|
inExpr(this.#field);
|
|
}
|
|
}
|