mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
13 lines
287 B
JavaScript
13 lines
287 B
JavaScript
class Cl {
|
|
static #PRIVATE_STATIC_FIELD = 0;
|
|
|
|
static set #privateStaticFieldValue(newValue) {
|
|
Cl.#PRIVATE_STATIC_FIELD = newValue;
|
|
}
|
|
|
|
static getPrivateStaticFieldValue() {
|
|
return Cl.#privateStaticFieldValue;
|
|
}
|
|
}
|
|
|
|
expect(Cl.getPrivateStaticFieldValue()).toBeUndefined(); |