Exceptions handling

Ranjeet_8
Posted by Ranjeet_8 under JavaScript category on | Points: 40 | Views : 1392
Java Script Try/catch/finally block structure.

<script type="text/javascript" language="javascript">
function TestFunction() {
try {
// try statements goes here.
} catch (e) {
// catch statements goes here.
return false;
} finally {
// finally statements goes here.
}
return true;
}
</script>

Comments or Responses

Login to post response