Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript throw with try...catch

try {
    // body of try
    throw exception;
} 
catch(error) {
    // body of catch  
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #JavaScript #throw
ADD COMMENT
Topic
Name
2+9 =