mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
28 lines
758 B
JavaScript
28 lines
758 B
JavaScript
var _prop = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("prop");
|
|
var Foo = /*#__PURE__*/babelHelpers.createClass(function Foo() {
|
|
"use strict";
|
|
|
|
babelHelpers.classCallCheck(this, Foo);
|
|
Object.defineProperty(this, _prop, {
|
|
writable: true,
|
|
value: "foo"
|
|
});
|
|
});
|
|
var _prop2 = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("prop");
|
|
var Bar = /*#__PURE__*/function (_Foo2) {
|
|
"use strict";
|
|
|
|
function Bar(...args) {
|
|
var _this;
|
|
babelHelpers.classCallCheck(this, Bar);
|
|
_this = babelHelpers.callSuper(this, Bar, [...args]);
|
|
Object.defineProperty(_this, _prop2, {
|
|
writable: true,
|
|
value: "bar"
|
|
});
|
|
return _this;
|
|
}
|
|
babelHelpers.inherits(Bar, _Foo2);
|
|
return babelHelpers.createClass(Bar);
|
|
}(Foo);
|