let results = [];
class Foo {
  constructor() {
    this.self.#privateFieldValue = results.push(2);
  }

  get self() {
    results.push(1);
    return this;
  }

  #privateFieldValue() {
    return 42;
  }
}
