swc/crates/swc_ecma_minifier/tests/single-pass/4/input.js

14 lines
497 B
JavaScript

export function Nj(a) {
a: for (; ;) {
for (; null === a.sibling;) {
if (null === a.return || Mj(a.return)) return null;
a = a.return;
}
for (a.sibling.return = a.return, a = a.sibling; 5 !== a.tag && 6 !== a.tag && 18 !== a.tag;) {
if (2 & a.flags) continue a;
if (null === a.child || 4 === a.tag) continue a;
a.child.return = a, a = a.child;
}
if (!(2 & a.flags)) return a.stateNode;
}
}