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

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

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.

1 Like

Fixed it by disabling auto run. Thanks.