☰
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-static-method-loose
/
async
/
output.js
☽
☼
packages/babel-plugin-proposal-private-methods/test/fixtures/private-static-method-loose/async/output.js
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
class Cl {
2
test() {
3
return babelHelpers.classStaticPrivateMethodGet(Cl, Cl, _privateStaticMethod).call(Cl);
4
}
5
}
6
async function _privateStaticMethod() {
7
return 2;
8
}
9
return new Cl().test().then(val => {
10
expect(val).toBe(2);
11
});