0 / 60 seg.

What is the result of the following code?

function countUpToN(n) {
  if (n === 0) {
    return [];
  }
  return [...countUpToN(n - 1), n];
}
console.log(countUpToN(3));