packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-fields--to-es2015/public/output.js
raw symbols SCIP| 1 | var _init_a, _init_b, _computedKey, _init_computedKey; |
| 2 | const dec = () => {}; |
| 3 | _computedKey = 'c'; |
| 4 | class Foo { |
| 5 | constructor() { |
| 6 | babelHelpers.defineProperty(this, "a", _init_a(this)); |
| 7 | babelHelpers.defineProperty(this, "b", _init_b(this, 123)); |
| 8 | babelHelpers.defineProperty(this, _computedKey, _init_computedKey(this, 456)); |
| 9 | } |
| 10 | } |
| 11 | [_init_a, _init_b, _init_computedKey] = babelHelpers.applyDecs(Foo, [[dec, 0, "a"], [dec, 0, "b"], [dec, 0, _computedKey]], []); |