Debian Codegraph @

packages/babel-plugin-proposal-class-properties/test/fixtures/private/instance-undefined/exec.js

raw
1 class Foo {
2 #bar;
3
4 test() {
5 return this.#bar;
6 }
7 }
8
9 expect(new Foo().test()).toBe(undefined);