// Some boring code to show on the boss screen function calculateFactorial(n) { if (n === 0) { return 1; } return n * calculateFactorial(n - 1); } function isPrime(num) { if (num <= 1) return false; if (num <= 3) return true; if (num % 2 === 0 || num % 3 === 0) return false; for (let i = 5; i * i <= num; i += 6) { if (num % i === 0 || num % (i + 2) === 0) return false; } return true; } for (let i = 0; i < 1000; i++) { console.log(calculateFactorial(i)); console.log(isPrime(i)); }