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