packages/babel-plugin-proposal-class-static-block/test/fixtures/integration-loose/multiple-static-initializers/output.js
raw| 1 | var _bar = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("bar"); |
| 2 | class Foo {} |
| 3 | Object.defineProperty(Foo, _bar, { |
| 4 | writable: true, |
| 5 | value: 21 |
| 6 | }); |
| 7 | (() => { |
| 8 | Foo.foo = babelHelpers.classPrivateFieldLooseBase(Foo, _bar)[_bar]; |
| 9 | Foo.qux1 = Foo.qux; |
| 10 | })(); |
| 11 | Foo.qux = 21; |
| 12 | Foo.qux2 = Foo.qux; |