diff options
Diffstat (limited to 'cli/tests/testdata/bundle/fixture11.out')
| -rw-r--r-- | cli/tests/testdata/bundle/fixture11.out | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/cli/tests/testdata/bundle/fixture11.out b/cli/tests/testdata/bundle/fixture11.out new file mode 100644 index 000000000..d143e8723 --- /dev/null +++ b/cli/tests/testdata/bundle/fixture11.out @@ -0,0 +1,30 @@ +function a() { + console.log("a"); +} +var O1; +(function(O1) { + O1[O1["A"] = 0] = "A"; + O1[O1["B"] = 1] = "B"; + O1[O1["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(); |
