12 ms·
For lesson 7, question 4 [It's time to make your own! Let's do what we did before and bring i down from 2 to 0. This time, fill in the conditions in the for loo
by astroguy 15y ago
For lesson 7, question 4 [It's time to make your own! Let's do what we did before and bring i down from 2 to 0. This time, fill in the conditions in the for loop using what you learned before.], when I run into infinite loop, my browser gets stuck.
Just of curiosity, I would like to know whether that event affects the server badly, if I keep my browser open?
- zds 15y agothanks for the question. we're running everything client side, so it's only your browser that's getting stuck. we're working on a fix for this too!
- thelastnode 15y agoA fix to the halting problem? Jokes aside, timing out would be useful.
- amasad 15y agoHaha! A Firebug like prompt is the plan i.e. "Script is taking too long to finish, do you want to stop it..." maybe every (n * X) time interval for n is every time the msg is shown for a specific peace of code.