JavaScript edit

Error Handling

Syntax

Remarks

try allows you to define a block of code to be tested for errors while it is being executed.

catch allows you to define a block of code to be executed, if an error occurs in the try block.

finally lets you execute code regardless of the result. Beware though, the control flow statements of try and catch blocks will be suspended until the execution of the finally block finishes.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Table Of Contents
17 Map
18 Set
28 Date
31 AJAX
34 Error Handling
42 JSON
104 Tilde
107 Events
  ↑ ↓ to navigate     ↵ to select     Esc to close