packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-classes/replacement-static-installed-on-correct-class/output.js
raw symbols SCIP| 1 | var _initClass; |
| 2 | const dec = () => {}; |
| 3 | let hasX, hasM; |
| 4 | let _Foo; |
| 5 | new class extends babelHelpers.identity { |
| 6 | static { |
| 7 | class Foo { |
| 8 | static { |
| 9 | [_Foo, _initClass] = babelHelpers.applyDecs(this, [], [dec]); |
| 10 | } |
| 11 | static m() {} |
| 12 | } |
| 13 | } |
| 14 | #x; |
| 15 | #m() {} |
| 16 | x; |
| 17 | constructor() { |
| 18 | super(_Foo), (() => { |
| 19 | hasX = o => #x in o; |
| 20 | hasM = o => #m in o; |
| 21 | })(), _initClass(); |
| 22 | } |
| 23 | }(); |