Syntax: Recursion in ActionScript. • ID: #95 Code function fact(n){ return n<=1?1:n*fact(n-1); } console.log(fact(4)); Notes You can copy this snippet and adapt it. For advanced, add real-world inputs, edge cases, and tests. ← Prev Next →