In the end, I fixed it by quickly clicking ctrl+a and pressing the delete button to delete everything before the console loaded.
Whoops, any idea how to fix that? I’ve messed up the code and the page is stuck now and I can’t do anything. Any idea on how I fix it with the developer tools? I didn’t have this issue because I touched something wrong in the developer tools. It’s probably because something went wrong when I used the number 1000 for an iteration. Whenever I open the page the console runs automatically so I can’t change the code.