2021-01-25 15:15:42 +03:00
|
|
|
function a() {
|
|
|
|
console.log("a");
|
|
|
|
}
|
2021-12-03 19:55:27 +03:00
|
|
|
var O;
|
2022-06-15 17:36:57 +03:00
|
|
|
(function(O) {
|
|
|
|
O[O["A"] = 0] = "A";
|
|
|
|
O[O["B"] = 1] = "B";
|
|
|
|
O[O["C"] = 2] = "C";
|
2022-01-02 23:54:58 +03:00
|
|
|
})(O || (O = {}));
|
2021-12-03 19:55:27 +03:00
|
|
|
export { O as O };
|
2021-01-20 10:10:12 +03:00
|
|
|
class A {
|
|
|
|
#a;
|
|
|
|
#c;
|
2022-01-02 23:54:58 +03:00
|
|
|
constructor(o = {}){
|
2022-06-15 17:36:57 +03:00
|
|
|
const { a: a1 = a , c } = o;
|
|
|
|
this.#a = a1;
|
2021-01-20 10:10:12 +03:00
|
|
|
this.#c = c;
|
|
|
|
}
|
|
|
|
a() {
|
|
|
|
this.#a();
|
|
|
|
}
|
|
|
|
c() {
|
|
|
|
console.log(this.#c);
|
|
|
|
}
|
|
|
|
}
|
2021-09-21 15:21:49 +03:00
|
|
|
let a1 = new A();
|
|
|
|
a1.a();
|
|
|
|
a1.c();
|