mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 08:39:09 -05:00
2a36e2f892
- deno_doc 0.1.14 - deno_lint 0.2.7 - dprint-plugin-typescript 0.32.7 - swc_bundler 0.14.1 - swc_ecmascript 0.13.1
31 lines
461 B
Text
31 lines
461 B
Text
function a() {
|
|
console.log("a");
|
|
}
|
|
var O;
|
|
(function(O1) {
|
|
O1[O1["A"] = 0] = "A";
|
|
O1[O1["B"] = 1] = "B";
|
|
O1[O1["C"] = 2] = "C";
|
|
})(O || (O = {
|
|
}));
|
|
const O1 = O;
|
|
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();
|