Answer the question
In order to leave comments, you need to log in
What to do if JS freezes?
I practiced JS and for the sake of experiment (what if?) I commented out a line of code, I go into the browser, and there, in the console, a bunch of 0s are generated. As the number of 0s increased, my computer started to freeze, at 50,000+ the computer completely hung.
And the question is what to do in such situations?
Answer the question
In order to leave comments, you need to log in
Do not play with JS otherwise it will outplay you :)
Remove cycles or set a condition and revisit the page. Restart your computer if everything is so bad ..
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question