☰
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
/
super
/
input.js
☽
☼
packages/babel-plugin-proposal-private-methods/test/fixtures/private-method/super/input.js
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
class Base {
2
superMethod() {
3
return 'good';
4
}
5
}
6
7
class Sub extends Base {
8
superMethod() {
9
return 'bad';
10
}
11
12
#privateMethod() {
13
return super.superMethod();
14
}
15
16
publicMethod() {
17
return this.#privateMethod();
18
}
19
}