packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-methods/public/output.js
raw symbols SCIP| 1 | var _computedKey, _initProto; |
| 2 | const dec = () => {}; |
| 3 | _computedKey = 'b'; |
| 4 | class Foo { |
| 5 | static { |
| 6 | [_initProto] = babelHelpers.applyDecs(this, [[dec, 2, "a"], [dec, 2, _computedKey]], []); |
| 7 | } |
| 8 | constructor(...args) { |
| 9 | _initProto(this); |
| 10 | } |
| 11 | value = 1; |
| 12 | a() { |
| 13 | return this.value; |
| 14 | } |
| 15 | [_computedKey]() { |
| 16 | return this.value; |
| 17 | } |
| 18 | } |