mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
* Add test * Avoid printing unnecessary parens around object destructuring * Update fixtures
20 lines
282 B
JavaScript
20 lines
282 B
JavaScript
var _C;
|
|
class C {}
|
|
_C = C;
|
|
babelHelpers.defineProperty(C, "a", "a");
|
|
var _x = {
|
|
_: void 0
|
|
};
|
|
(() => {
|
|
var x,
|
|
a = "a";
|
|
for (const _ref of [_C]) {
|
|
x = babelHelpers.assertClassBrand(_C, _ref, _x)._, {
|
|
[a]: a
|
|
} = _ref;
|
|
{
|
|
const a = "A";
|
|
}
|
|
}
|
|
})();
|