2021-01-25 15:15:42 +03:00
|
|
|
function a() {
|
|
|
|
console.log("a");
|
|
|
|
}
|
2021-12-03 19:55:27 +03:00
|
|
|
var O;
|
|
|
|
(function(O1) {
|
|
|
|
O1[O1["A"] = 0] = "A";
|
|
|
|
O1[O1["B"] = 1] = "B";
|
|
|
|
O1[O1["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 = {}){
|
2021-10-21 08:12:50 +03:00
|
|
|
const { a: a2 = a , c , } = o;
|
|
|
|
this.#a = a2;
|
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();
|