☰
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-helper-create-class-features-plugin
/
test
/
fixtures
/
field-reinitialization
/
private-field
/
input.js
☽
☼
packages/babel-helper-create-class-features-plugin/test/fixtures/field-reinitialization/private-field/input.js
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
class Base {
2
constructor(obj) {
3
return obj;
4
}
5
}
6
7
let counter = 0;
8
class Derived extends Base {
9
#foo = ++counter;
10
static get(obj) {
11
return obj.#foo;
12
}
13
}