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