How does one write an infinite loop in javascript that won't crash your browser. I have found two things on the internet regarding infinite loops in javascript...
for(;;){}
and...
while(true){}
the problem with both of these is that the crash my computer... I thought you were able to just put...
Loop;
at the end of the code and it would infinitely loop through the code, but I was wrong, what is the proper way to loop through code infinitely that will not crash my browser?