Infinite loop detection

When I tried to finish the challenge of nesting loops in javascript, I accidentally wrote a infinite loop like:

for(var i=0; i < array.length; i++)
    for(var j=0; i < array[i].length; j++)
        ....    

Then I clicked Run test button. All dead! Even after I kill the page and enter the page again.

I suggest DO NOT run the solution automatically when user just land on the page.

Any other thoughts?

After I searched in the forum, I found that add run=disable after the url works like a charm. :blush:

2 Likes