packages/babel-plugin-proposal-decorators/test/fixtures/2022-03-setters--to-es2015/public/output.js
raw symbols SCIP| 1 | var _computedKey, _initProto; |
| 2 | const dec = () => {}; |
| 3 | _computedKey = 'b'; |
| 4 | class Foo { |
| 5 | constructor(...args) { |
| 6 | babelHelpers.defineProperty(this, "value", 1); |
| 7 | _initProto(this); |
| 8 | } |
| 9 | set a(v) { |
| 10 | return this.value = v; |
| 11 | } |
| 12 | set [_computedKey](v) { |
| 13 | return this.value = v; |
| 14 | } |
| 15 | } |
| 16 | [_initProto] = babelHelpers.applyDecs2203R(Foo, [[dec, 4, "a"], [dec, 4, _computedKey]], []).e; |