Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript try...catch...finally Statement

try {
    // try_statements
} 
catch(error) {
    // catch_statements  
}
finally() {
    // codes that gets executed anyway
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #JavaScript #Statement
ADD COMMENT
Topic
Name
2+5 =