Iterate with JavaScript While Loops Broken

Okay so I broke the webpage by only typing in while(0,1,2,3,4) and pressing enter before I was ready. As you’ve probably figured out, the webpage stopped. I can’t do anything on it. It saved the code and automatically runs each time I go on, so short of disabling JavaScript on the browser, is there anything I can do?

Never mind, worked it out.