My project is freezing on openning
Sometimes it happens that you can write code that will load the processor at 100% and the browser freezes.
We have protection for for
, while
, while do
, it's called Loop protection
.
However, it is impossible to protect against infinite recursion. There is one solution:
- Close frozen browser tab.
- Open any other project without problems, or a new one: https://playcode.io/new.
- Click to the
green triangle
and disableRun on opening
. - Then open your project and try to fix your recursion.
Updated on: 21/03/2022
Thank you!