packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static-call/output.js
raw symbols SCIP| 1 | var _foo = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("foo"); |
| 2 | var Foo = /*#__PURE__*/function () { |
| 3 | "use strict"; |
| 4 | |
| 5 | function Foo() { |
| 6 | babelHelpers.classCallCheck(this, Foo); |
| 7 | } |
| 8 | babelHelpers.createClass(Foo, [{ |
| 9 | key: "test", |
| 10 | value: function test(x) { |
| 11 | return babelHelpers.classPrivateFieldLooseBase(Foo, _foo)[_foo](x); |
| 12 | } |
| 13 | }]); |
| 14 | return Foo; |
| 15 | }(); |
| 16 | Object.defineProperty(Foo, _foo, { |
| 17 | writable: true, |
| 18 | value: function (x) { |
| 19 | return x; |
| 20 | } |
| 21 | }); |