swc/crates/swc_ecma_minifier/tests/fixture/issues/6141/input.js

14 lines
266 B
JavaScript
Raw Normal View History

(function foo(obj) {
if (obj) {
for (const key in obj) {
const element = obj[key];
if (element && foo(element.children)) {
// do something
}
}
return true;
}
return false;
})()