packages/babel-plugin-proposal-private-methods/test/fixtures/private-static-method-privateFieldsAsProperties/exfiltrated/output.js
raw| 1 | let exfiltrated; |
| 2 | var _privateStaticMethod = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("privateStaticMethod"); |
| 3 | class Cl { |
| 4 | constructor() { |
| 5 | if (exfiltrated === undefined) { |
| 6 | exfiltrated = babelHelpers.classPrivateFieldLooseBase(Cl, _privateStaticMethod)[_privateStaticMethod]; |
| 7 | } |
| 8 | } |
| 9 | } |
| 10 | function _privateStaticMethod2() { |
| 11 | return 1017; |
| 12 | } |
| 13 | Object.defineProperty(Cl, _privateStaticMethod, { |
| 14 | value: _privateStaticMethod2 |
| 15 | }); |