Jump to content

Javascript command for finish the program


abdu

Recommended Posts

There is no command to end the program, but if there are no event listeners, you can wrapall of your code in a function and call "return" when you want it to end. 

If you do have event listeners then you will have to remove all of the event listeners before stopping the program.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...