Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com> Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
19 lines
406 B
JavaScript
19 lines
406 B
JavaScript
var _method = /*#__PURE__*/new WeakSet();
|
|
|
|
class A {
|
|
self() {
|
|
this.counter++;
|
|
return this;
|
|
}
|
|
|
|
constructor() {
|
|
babelHelpers.classPrivateMethodInitSpec(this, _method);
|
|
babelHelpers.defineProperty(this, "counter", 0);
|
|
this.self(), 2, babelHelpers.readOnlyError("#method");
|
|
[babelHelpers.classPrivateFieldDestructureSet(this, _method).value] = [2];
|
|
}
|
|
|
|
}
|
|
|
|
function _method2() {}
|