Is it possible to stop JavaScript execution? [duplicate]

Is it possible in some way to stop or terminate JavaScript in a way that it prevents any further JavaScript-based execution from occuring, without reloading the browser?

I am thinking of a JavaScript equivalent of exit() in PHP.

11 Answers
11

Leave a Comment