Debian Codegraph @

packages/babel-plugin-proposal-private-methods/test/fixtures/private-static-method-privateFieldsAsProperties/reassignment/exec.js

raw
1 class Cl {
2 static #privateStaticMethod() { }
3
4 constructor() {
5 expect(() => Cl.#privateStaticMethod = null).toThrow(TypeError);
6 }
7 }
8
9 new Cl();