☰
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
/
multiple
/
exec.js
☽
☼
packages/babel-plugin-proposal-class-properties/test/fixtures/private/multiple/exec.js
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
class Foo {
2
#x = 0;
3
#y = this.#x + 1;
4
5
test() {
6
return this.#y;
7
}
8
}
9
10
const f = new Foo();
11
expect(f.test()).toBe(1);