You can do this:
throw "stop execution";
Question
I m using SL4A to execute Python/Javascripts in Android. Can anyone let me know the equivalent of sys.exit()
of Python in JavaScript? Thanks!
Solution
You can do this:
throw "stop execution";