☰
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
/
accessors
/
get-only-setter
/
input.js
☽
☼
packages/babel-plugin-proposal-private-methods/test/fixtures/accessors/get-only-setter/input.js
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
class Cl {
2
#privateField = 0;
3
4
set #privateFieldValue(newValue) {
5
this.#privateField = newValue;
6
}
7
8
constructor() {
9
this.publicField = this.#privateFieldValue;
10
}
11
}