Hacker News new | ask | show | jobs
by astroguy 5282 days 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?

1 comments

thanks 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!
A fix to the halting problem?

Jokes aside, timing out would be useful.

Haha!

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.