Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript stop execution

return false;    // or return;
// or
throw new Error("Here we stop");
// Node.js:
process.exit();
 
PREVIOUS NEXT
Tagged: #javascript #stop #execution
ADD COMMENT
Topic
Name
7+1 =