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!
sys.exit()
You can do this:
throw "stop execution";