Algorithm challenge keeps crashing and I can't reset code!

Algorithm challenge keeps crashing and I can't reset code!
0

#1

When I try to reset my code the page has already crashed, how can I reset it?


#2

You have created either an infinite loop or infinite recursion.
FCC uses an infinite loop protection, but it can’t catch every case.
The reason that your browser crashes every time you try to load the challenge is because the code in your editor automatically runs. Try disabling auto run.
Another option is to clear the challenge data from your browser cache.


#3

Fixed it by disabling auto run. Thanks.