packages/babel-plugin-proposal-decorators/test/fixtures/2022-03-methods--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 | a() { |
| 10 | return this.value; |
| 11 | } |
| 12 | [_computedKey]() { |
| 13 | return this.value; |
| 14 | } |
| 15 | } |
| 16 | [_initProto] = babelHelpers.applyDecs2203R(Foo, [[dec, 2, "a"], [dec, 2, _computedKey]], []).e; |