mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
15 lines
214 B
JavaScript
15 lines
214 B
JavaScript
class Foo {
|
|
static test() {
|
|
return _bar._;
|
|
}
|
|
test() {
|
|
return _bar._;
|
|
}
|
|
}
|
|
var _bar = {
|
|
_: "foo"
|
|
};
|
|
expect("bar" in Foo).toBe(false);
|
|
expect(Foo.test()).toBe("foo");
|
|
expect(Foo.test()).toBe("foo");
|