mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
14 lines
279 B
JavaScript
14 lines
279 B
JavaScript
var _foo = Symbol("foo");
|
|
class Foo {
|
|
constructor() {
|
|
Object.defineProperty(this, _foo, {
|
|
get: _get_foo,
|
|
set: void 0
|
|
});
|
|
}
|
|
test(other) {
|
|
return Object.prototype.hasOwnProperty.call(babelHelpers.checkInRHS(other), _foo);
|
|
}
|
|
}
|
|
function _get_foo() {}
|