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

23 lines
474 B
JavaScript

var Foo = /*#__PURE__*/function () {
"use strict";
function Foo(val) {
babelHelpers.classCallCheck(this, Foo);
this._val = val;
}
return babelHelpers.createClass(Foo, [{
key: "foo2",
value: function (_foo) {
function foo2() {
return _foo.apply(this, arguments);
}
foo2.toString = function () {
return _foo.toString();
};
return foo2;
}(function () {
return foo2(this._val);
})
}]);
}();