Search⌘ K
AI Features

Exercise 2: Fix the Code

Explore how to identify and fix common coding errors in a JavaScript function that sums prime numbers up to a specified age. Learn to apply debugging skills and ESLint tools to ensure the code terminates properly and returns the correct result.

Problem statement

The code given in this exercise ...