☰
Debian Codegraph
@
8.0.6+ds1+~cs177.303.116-1
8.0.4+ds1+~cs177.303.116-3
7.20.15+ds1+~cs214.269.168-17
/
/
packages
/
babel-plugin-proposal-class-properties
/
test
/
fixtures
/
private
/
static-self-field
/
exec.js
☽
☼
packages/babel-plugin-proposal-class-properties/test/fixtures/private/static-self-field/exec.js
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
const f = class Foo {
2
static #x = Foo;
3
static y = Foo;
4
5
static extract() {
6
return {
7
x: Foo.#x,
8
y: Foo.y,
9
}
10
}
11
};
12
13
const { x, y } = f.extract();
14
expect(x).toBe(f)
15
expect(y).toBe(f)