* 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 🚧
10 lines
107 B
JavaScript
10 lines
107 B
JavaScript
class C {
|
|
static set #p(v) { C.#q = v }
|
|
static #q;
|
|
constructor() {
|
|
([C.#p] = [0]);
|
|
}
|
|
}
|
|
|
|
new C;
|