But basically, going through the algorithm challenges I was going through the “Factorialize a Number” and it wasn’t giving me the outputs I was expecting, so without thinking I ran an alert inside my reduce function to give me the value of my parameters.
Is there another way to reset the code for a challenge externally to that page, so that I can avoid loading the page and my page crashing?
How about logging in a private/incognito window, then completing the challenge there? If ever you freeze again, just close the window and try again. Then once you complete it, open a regular window, go to your profile page, load your solution, then submit it again. Not sure if that would work though.
This is what I’ve used when I do something like this - you can prevent the page from auto-running your code, so you can take out the alert.
Recovering Unresponsive Code
If you have erred and incorrectly disabled loop protection and now have an unresponsive solution, you can disable Code Auto-Run.
By default, the Free Code Camp site automatically loads and runs your last recorded solution. If you have accidentally created an infinite loop or other irrecoverable error or simply don't trust the code, you can disable code auto-run by putting the following in your URL: run=disabled
No-Run URL: http://www.freecodecamp.com/challenges/Algorithm-meet-Algorithm#?run=disabled&solution=function%20meetBonfire(argument)