Debian Codegraph @

packages/babel-plugin-proposal-class-properties/test/fixtures/public/static-this/exec.js

raw
1 class A {
2 static self = this;
3 static getA = () => this;
4 }
5
6 const { self, getA } = A;
7
8 expect(self).toBe(A);
9 expect(getA()).toBe(A);