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