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
21 lines
343 B
JavaScript
21 lines
343 B
JavaScript
var _class;
|
|
class C {}
|
|
_class = C;
|
|
babelHelpers.defineProperty(C, "a", "a");
|
|
var _x = {
|
|
writable: true,
|
|
value: void 0
|
|
};
|
|
(() => {
|
|
const a = "a";
|
|
for (const _ref of [_class]) {
|
|
const x = babelHelpers.classStaticPrivateFieldSpecGet(_ref, _class, _x),
|
|
{
|
|
[a]: _
|
|
} = _ref;
|
|
{
|
|
const a = "A";
|
|
}
|
|
}
|
|
})();
|