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