Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript syntax of throw statement

try {
    // body of try
    throw exception;
} 
catch(error) {
    // body of catch  
}
Source by humanwhocodes.com #
 
PREVIOUS NEXT
Tagged: #javascript #syntax #throw #statement
ADD COMMENT
Topic
Name
8+2 =