Kod procesu NodeJS
const exitCode = 3;
console.log("This is executed");
process.exit(exitCode); // Ends execution
console.log("This is not executed");
Carsten Schlegel
const exitCode = 3;
console.log("This is executed");
process.exit(exitCode); // Ends execution
console.log("This is not executed");