When you get an infinite loop in jsfiddle in Chrome, your only choice (that I know of) is to close the tab. Of course, this means you lose all your work in the current window! Is there an easy way to stop an infinitely executing script?
It all started because I decided to swap directions on my loop from
for (var c = 0; c <= 11; c++)
to
for (var c = 12; c > 0; c++)
But as you can see above, I forgot to change it from c++
to c--
.
Any ideas?? I still have the tab open and I'm hoping to get it back without closing the tab :-)
How to do it without Developer Mode:
Or on MacOS,