mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 01:29:14 -05:00
c84532b6d5
Co-authored-by: David Sherret <dsherret@gmail.com>
30 lines
443 B
Text
30 lines
443 B
Text
function a() {
|
|
console.log("a");
|
|
}
|
|
var O1;
|
|
(function(O) {
|
|
O[O["A"] = 0] = "A";
|
|
O[O["B"] = 1] = "B";
|
|
O[O["C"] = 2] = "C";
|
|
})(O1 || (O1 = {
|
|
}));
|
|
export { O1 as O };
|
|
class A {
|
|
#a;
|
|
#c;
|
|
constructor(o = {
|
|
}){
|
|
const { a: a1 = a , c , } = o;
|
|
this.#a = a1;
|
|
this.#c = c;
|
|
}
|
|
a() {
|
|
this.#a();
|
|
}
|
|
c() {
|
|
console.log(this.#c);
|
|
}
|
|
}
|
|
const a2 = new A();
|
|
a2.a();
|
|
a2.c();
|