2021-01-25 15:15:42 +03:00
|
|
|
function a() {
|
|
|
|
console.log("a");
|
|
|
|
}
|
2021-02-22 11:27:40 +03:00
|
|
|
var O1;
|
2021-09-01 16:11:55 +03:00
|
|
|
(function(O) {
|
|
|
|
O[O["A"] = 0] = "A";
|
|
|
|
O[O["B"] = 1] = "B";
|
|
|
|
O[O["C"] = 2] = "C";
|
2021-02-22 11:27:40 +03:00
|
|
|
})(O1 || (O1 = {
|
2021-01-20 10:10:12 +03:00
|
|
|
}));
|
2021-02-22 11:27:40 +03:00
|
|
|
export { O1 as O };
|
2021-01-20 10:10:12 +03:00
|
|
|
class A {
|
|
|
|
#a;
|
|
|
|
#c;
|
|
|
|
constructor(o = {
|
|
|
|
}){
|
2021-02-22 11:27:40 +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();
|