packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-methods/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.applyDecs(this, [[dec, 7, "a", function () { |
| 6 | return this.value; |
| 7 | }]], []); |
| 8 | _initStatic(this); |
| 9 | } |
| 10 | static #a = _call_a; |
| 11 | static value = 1; |
| 12 | static callA() { |
| 13 | return this.#a(); |
| 14 | } |
| 15 | } |