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