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