Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript stop execution

// EXAMPLE
throw new Error("This is your custom error message");

/*
SYNTAX
throw new Error("<your-custom-message>");
*/
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #stop #execution
ADD COMMENT
Topic
Name
2+1 =