* fix: support static private field destructure set ([C.#p] = [0]) * 🚧 * fix: add compatibility warning for older @babel/helper versions * refactor: extract common routines among classPrivateFiled helpers * More 🚧
9 lines
93 B
JavaScript
9 lines
93 B
JavaScript
class A {
|
|
static #method() {}
|
|
|
|
run() {
|
|
A.#method = 2;
|
|
([A.#method] = [2]);
|
|
}
|
|
}
|