Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1541

How to stop execution in Svelte?

$
0
0

For example, in PHP it is possible to stop execution using exit();.

How do I simply stop the script from continuing?

Not shutting down the server, but ending the request and showing a blank message on the screen, like:

Script ended abruptly.


Viewing all articles
Browse latest Browse all 1541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>