| 1 |
var _m = new WeakMap(); |
| 2 |
class Foo { |
| 3 |
constructor() { |
| 4 |
babelHelpers.classPrivateFieldInitSpec(this, _m, { |
| 5 |
writable: true, |
| 6 |
value: void 0 |
| 7 |
}); |
| 8 |
} |
| 9 |
init() { |
| 10 |
babelHelpers.classPrivateFieldSet(this, _m, (...args) => args); |
| 11 |
} |
| 12 |
static test() { |
| 13 |
const f = new Foo(); |
| 14 |
f.init(); |
| 15 |
return babelHelpers.classPrivateFieldGet(f, _m)?.apply(f, arguments); |
| 16 |
} |
| 17 |
static testNull() { |
| 18 |
const f = new Foo(); |
| 19 |
return babelHelpers.classPrivateFieldGet(f, _m)?.apply(f, arguments); |
| 20 |
} |
| 21 |
} |