☰
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-private-methods
/
test
/
fixtures
/
private-method
/
reassignment
/
input.js
☽
☼
packages/babel-plugin-proposal-private-methods/test/fixtures/private-method/reassignment/input.js
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
let results = [];
2
class Foo {
3
constructor() {
4
this.self.#privateFieldValue = results.push(2);
5
}
6
7
get self() {
8
results.push(1);
9
return this;
10
}
11
12
#privateFieldValue() {
13
return 42;
14
}
15
}