zoxon
5/24/2017 - 8:31 AM

factorial.js

function fact(n = 0) {
  return (n == 0) ? 1 : fact(n - 1) * n;
}