Files
liuxingbaoyuandGitHub 0d29e85ffc Reduce the use of class names (#16326)
Use the return value of the createClass helper
2024-03-07 17:11:56 -05:00

20 lines
1.1 KiB
JavaScript

var _foo = /*#__PURE__*/new WeakMap();
let Foo = /*#__PURE__*/function () {
"use strict";
function Foo() {
babelHelpers.classCallCheck(this, Foo);
babelHelpers.classPrivateFieldInitSpec(this, _foo, 0);
}
return babelHelpers.createClass(Foo, [{
key: "test",
value: function test(other) {
var _this$foo, _this$foo2, _this$foo3, _other$obj, _other$obj$foo, _other$obj$foo2, _other$obj2, _other$obj$foo3;
babelHelpers.classPrivateFieldSet2(_foo, this, (_this$foo = babelHelpers.classPrivateFieldGet2(_foo, this), _this$foo2 = _this$foo++, _this$foo)), _this$foo2;
babelHelpers.classPrivateFieldSet2(_foo, this, (_this$foo3 = babelHelpers.classPrivateFieldGet2(_foo, this), ++_this$foo3));
babelHelpers.classPrivateFieldSet2(_foo, _other$obj = other.obj, (_other$obj$foo = babelHelpers.classPrivateFieldGet2(_foo, _other$obj), _other$obj$foo2 = _other$obj$foo++, _other$obj$foo)), _other$obj$foo2;
babelHelpers.classPrivateFieldSet2(_foo, _other$obj2 = other.obj, (_other$obj$foo3 = babelHelpers.classPrivateFieldGet2(_foo, _other$obj2), ++_other$obj$foo3));
}
}]);
}();