How can I exit the JavaScript script much like PHP’s exit
or die
? I know it’s not the best programming practice but I need to.
How can I exit the JavaScript script much like PHP’s exit
or die
? I know it’s not the best programming practice but I need to.