swc/ecmascript/minifier/tests/terser/compress/drop-unused/issue_t183/input.js

9 lines
142 B
JavaScript
Raw Normal View History

function foo(val) {
function bar(x) {
if (x) return x;
bar(x - 1);
}
return bar(val);
}
console.log(foo("PASS"));