packages/babel-plugin-proposal-private-methods/test/fixtures/private-method/exfiltrated/output.js
raw| 1 | var exfiltrated; |
| 2 | var _privateMethod = /*#__PURE__*/new WeakSet(); |
| 3 | class Foo { |
| 4 | constructor() { |
| 5 | babelHelpers.classPrivateMethodInitSpec(this, _privateMethod); |
| 6 | if (exfiltrated === undefined) { |
| 7 | exfiltrated = babelHelpers.classPrivateMethodGet(this, _privateMethod, _privateMethod2); |
| 8 | } |
| 9 | } |
| 10 | } |
| 11 | function _privateMethod2() {} |