Debian Codegraph @

packages/babel-plugin-proposal-private-methods/test/fixtures/accessors-privateFieldsAsProperties/set-only-getter/input.js

raw
1 class Cl {
2 #privateField = 0;
3
4 get #privateFieldValue() {
5 return this.#privateField;
6 }
7
8 constructor() {
9 this.#privateFieldValue = 1;
10 ([this.#privateFieldValue] = [1]);
11 }
12 }