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

13 lines
254 B
JavaScript

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