Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nodejs end process

const exitCode = 3;
console.log("This is executed");
process.exit(exitCode);  // Ends execution
console.log("This is not executed");
 
PREVIOUS NEXT
Tagged: #nodejs #process
ADD COMMENT
Topic
Name
8+3 =