diff options
Diffstat (limited to 'cli/tests/testdata/bundle/fixture07.out')
| -rw-r--r-- | cli/tests/testdata/bundle/fixture07.out | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/cli/tests/testdata/bundle/fixture07.out b/cli/tests/testdata/bundle/fixture07.out new file mode 100644 index 000000000..39e6a11e8 --- /dev/null +++ b/cli/tests/testdata/bundle/fixture07.out @@ -0,0 +1,23 @@ +const g = []; +class G { + #g; + constructor(shared){ + if (shared) { + this.#g = g; + } else { + this.#g = []; + } + } +} +const g1 = []; +class H { + #g; + constructor(shared1){ + if (shared1) { + this.#g = g1; + } else { + this.#g = []; + } + } +} +console.log(new G(true), new H(true)); |
