mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
* add test cases * fix: memoise class binding when lowering static elements and private methods * update test fixtures * update test fixtures
7 lines
104 B
JavaScript
7 lines
104 B
JavaScript
var _class;
|
|
class Foo {}
|
|
_class = Foo;
|
|
Foo.bar = 42;
|
|
_class.foo = _class.bar;
|
|
expect(Foo.foo).toBe(42);
|