mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 05:32:09 +03:00
c6b22c57f8
Co-authored-by: Fábio Santos <fabiosantosart@gmail.com>
9 lines
142 B
JavaScript
9 lines
142 B
JavaScript
function foo(val) {
|
|
function bar(x) {
|
|
if (x) return x;
|
|
bar(x - 1);
|
|
}
|
|
return bar(val);
|
|
}
|
|
console.log(foo("PASS"));
|