Fabulous Tips About How To Stop Execution In Javascript
Let fruits = [banana, apple, orange, grape,. The break statement can be used to exit a loop or switch statement and stop the execution of the script. In your code, will halt the page execution, and then your browser's developer tools will allow you to review the state of your page at the moment it was frozen.