Exceptions handling

Ranjeet_8
Posted by Ranjeet_8 under JavaScript category on | Points: 40 | Views : 919
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