Snippet 1
if(someEventHappened) return; // Will prevent subsequent code from being executed
alert("This alert will never be shown.");
Copyright © Code Fetcher 2020
Snippet 1
if(someEventHappened) return; // Will prevent subsequent code from being executed
alert("This alert will never be shown.");
Copyright © Code Fetcher 2020