There is no stop button for forcefully stop the program when it get stuck in an infinite loop. So whenever our program stuck in a infinite loop of "alerts" in JavaScript there is no way to stop them, we need to close the tab which results we lost our code.
There is no stop button for forcefully stop the program when it get stuck in an infinite loop. So whenever our program stuck in a infinite loop of "alerts" in JavaScript there is no way to stop them, we need to close the tab which results we lost our code.