Something's wrong with my function.
Error with a function
The problem is that whenever I add that last variable (it's in the
script.js file) the repl just gives up even trying to run.
You forgot to define i so it became a global variable.
Here is the correct code for line 12
for (let i = 0; i = 5; i ++)