mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
11 lines
194 B
JavaScript
11 lines
194 B
JavaScript
var _Foo;
|
|
class Foo {}
|
|
_Foo = Foo;
|
|
var _ = {
|
|
_: 42
|
|
};
|
|
// static block can not be transformed as `#_` here
|
|
|
|
_Foo.foo = babelHelpers.assertClassBrand(_Foo, _Foo, _)._;
|
|
expect(Foo.foo).toBe(42);
|