packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-methods/private/output.js
raw symbols SCIP| 1 | var _call_a, _initProto; |
| 2 | const dec = () => {}; |
| 3 | class Foo { |
| 4 | static { |
| 5 | [_call_a, _initProto] = babelHelpers.applyDecs(this, [[dec, 2, "a", function () { |
| 6 | return this.value; |
| 7 | }]], []); |
| 8 | } |
| 9 | constructor(...args) { |
| 10 | _initProto(this); |
| 11 | } |
| 12 | #a = _call_a; |
| 13 | value = 1; |
| 14 | callA() { |
| 15 | return this.#a(); |
| 16 | } |
| 17 | } |