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
14 lines
141 B
JavaScript
14 lines
141 B
JavaScript
class A {
|
|
#field;
|
|
|
|
set #setter(value) {}
|
|
|
|
method() {
|
|
this.#field = 42;
|
|
this.#setter = 43;
|
|
|
|
|
|
inExpr(this.#field = 5);
|
|
}
|
|
}
|