packages/babel-plugin-proposal-class-properties/test/fixtures/private/constructor-collision/output.js
raw| 1 | var foo = "bar"; |
| 2 | var _bar = /*#__PURE__*/new WeakMap(); |
| 3 | var Foo = /*#__PURE__*/babelHelpers.createClass(function Foo() { |
| 4 | "use strict"; |
| 5 | |
| 6 | babelHelpers.classCallCheck(this, Foo); |
| 7 | babelHelpers.classPrivateFieldInitSpec(this, _bar, { |
| 8 | writable: true, |
| 9 | value: foo |
| 10 | }); |
| 11 | var _foo = "foo"; |
| 12 | }); |