Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com> Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
14 lines
308 B
JavaScript
14 lines
308 B
JavaScript
var _privateMethod = /*#__PURE__*/new WeakSet();
|
|
|
|
class Foo {
|
|
constructor() {
|
|
babelHelpers.classPrivateMethodInitSpec(this, _privateMethod);
|
|
this.publicField = babelHelpers.classPrivateMethodGet(this, _privateMethod, _privateMethod2).call(this);
|
|
}
|
|
|
|
}
|
|
|
|
function _privateMethod2() {
|
|
return 42;
|
|
}
|