10.07.2017 Views

javascript_tutorial

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Javascript<br />

You can use a finally block which will always execute unconditionally after the<br />

try/catch. Here is an example.<br />

Example<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Click the following to see the result:<br />

<br />

<br />

<br />

Try running after fixing the problem with method name.<br />

<br />

<br />

347

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!