Exit from script. This function never returns.
Syntax
exit(code);
Parameters
code | Exit code (optional, 0 will be used by default). |
Return Value
None.
Examples
exit(); // exit with code 0
exit(42); // exit with code 42
Exit from script. This function never returns.
exit(code);
code | Exit code (optional, 0 will be used by default). |
None.
exit(); // exit with code 0
exit(42); // exit with code 42