You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alvin Cheng edited this page Jan 9, 2023
·
1 revision
Description
This is the exit command, this command will stop the program, this command has a similar function to nodejs' built-in process.exit() function. The command will exit with the status in a number format in argument 1. if you leave argument 1 with undefined, you will exit with code 0.
Exit codes
Computer programs have exit codes so that the user can identify the error, an exit code of 0 indicates success and an exit code of 1 indicates error or failure. This exit code can also be seen when using a shell command.