0 / 60 seg.

What is the result of the following code that calculates the factorial of a number?

function factorial(n) {
  if (n === 0) {
    return 1;
  }
  return n * factorial(n - 1);
}
console.log(factorial(5));