mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
12 lines
188 B
JavaScript
12 lines
188 B
JavaScript
class Cl {
|
|
test() {
|
|
return _privateStaticMethod.call(Cl);
|
|
}
|
|
}
|
|
async function _privateStaticMethod() {
|
|
return 2;
|
|
}
|
|
return new Cl().test().then(val => {
|
|
expect(val).toBe(2);
|
|
});
|