Debian Codegraph @

packages/babel-plugin-proposal-pipeline-operator/test/fixtures/hack-hash/pipe-body-with-class-expression-and-private-properties/exec.js

raw symbols SCIP
1 const result = 1
2 |> class {
3 #baz;
4
5 constructor () {
6 this.#baz = #;
7 }
8
9 #bar () {
10 return this.#baz + 2;
11 }
12
13 foo () {
14 return this.#bar() + 3;
15 }
16 }
17 |> new #
18 |> #.foo();
19
20 expect(result).toBe(1 + 2 + 3);