| 1 |
var _privateField = /*#__PURE__*/new WeakMap(); |
| 2 |
var _privateFieldValue = /*#__PURE__*/new WeakMap(); |
| 3 |
class Cl { |
| 4 |
get self() { |
| 5 |
this.counter++; |
| 6 |
return this; |
| 7 |
} |
| 8 |
constructor() { |
| 9 |
babelHelpers.classPrivateFieldInitSpec(this, _privateFieldValue, { |
| 10 |
get: _get_privateFieldValue, |
| 11 |
set: void 0 |
| 12 |
}); |
| 13 |
babelHelpers.classPrivateFieldInitSpec(this, _privateField, { |
| 14 |
writable: true, |
| 15 |
value: 0 |
| 16 |
}); |
| 17 |
babelHelpers.defineProperty(this, "counter", 0); |
| 18 |
this.self, 1([babelHelpers.classPrivateFieldDestructureSet(this.self, _privateFieldValue).value] = [1]), babelHelpers.readOnlyError("#privateFieldValue"); |
| 19 |
} |
| 20 |
} |
| 21 |
function _get_privateFieldValue() { |
| 22 |
return babelHelpers.classPrivateFieldGet(this, _privateField); |
| 23 |
} |
| 24 |
var cl = new Cl(); |