Files
2024-02-28 10:28:10 +01:00

25 lines
536 B
JavaScript

var _foo = Symbol("foo");
class Foo {
constructor() {
Object.defineProperty(this, _foo, {
writable: true,
value: 1
});
}
test() {
var _foo2 = Symbol("foo");
class Nested {
constructor() {
Object.defineProperty(this, _foo2, {
writable: true,
value: 2
});
}
test() {
Object.prototype.hasOwnProperty.call(babelHelpers.checkInRHS(this), _foo2);
}
}
Object.prototype.hasOwnProperty.call(babelHelpers.checkInRHS(this), _foo);
}
}