File size: 65 Bytes
c930535
1
2
function fact(n){return n<2?1:n*fact(n-1);}console.log(fact(8));