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