mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
13 lines
362 B
JavaScript
13 lines
362 B
JavaScript
var _privateMethod = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("privateMethod");
|
|
class Foo {
|
|
constructor() {
|
|
Object.defineProperty(this, _privateMethod, {
|
|
value: _privateMethod2
|
|
});
|
|
this.publicField = babelHelpers.classPrivateFieldLooseBase(this, _privateMethod)[_privateMethod]();
|
|
}
|
|
}
|
|
function _privateMethod2() {
|
|
return 42;
|
|
}
|