mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
29 lines
766 B
JavaScript
29 lines
766 B
JavaScript
var _foo = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("foo");
|
|
var _bar = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("bar");
|
|
let Foo = /*#__PURE__*/function () {
|
|
"use strict";
|
|
|
|
function Foo() {
|
|
babelHelpers.classCallCheck(this, Foo);
|
|
Object.defineProperty(this, _bar, {
|
|
writable: true,
|
|
value: "bar"
|
|
});
|
|
}
|
|
return babelHelpers.createClass(Foo, [{
|
|
key: "test",
|
|
value: function test() {
|
|
return Object.prototype.hasOwnProperty.call(babelHelpers.checkInRHS(this), _bar);
|
|
}
|
|
}], [{
|
|
key: "test",
|
|
value: function test() {
|
|
return Object.prototype.hasOwnProperty.call(babelHelpers.checkInRHS(Foo), _foo);
|
|
}
|
|
}]);
|
|
}();
|
|
Object.defineProperty(Foo, _foo, {
|
|
writable: true,
|
|
value: "foo"
|
|
});
|