packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-methods/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.applyDecs(this, [[dec, 7, "a"], [dec, 7, _computedKey]], []); |
| 7 | _initStatic(this); |
| 8 | } |
| 9 | static value = 1; |
| 10 | static a() { |
| 11 | return this.value; |
| 12 | } |
| 13 | static [_computedKey]() { |
| 14 | return this.value; |
| 15 | } |
| 16 | } |