29 lines
483 B
JavaScript
29 lines
483 B
JavaScript
"use strict";
|
|
|
|
var Foo =
|
|
/*#__PURE__*/
|
|
function () {
|
|
function Foo(val) {
|
|
babelHelpers.classCallCheck(this, Foo);
|
|
this._val = val;
|
|
}
|
|
|
|
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);
|
|
})
|
|
}]);
|
|
return Foo;
|
|
}();
|