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