Try Catch Finally in JavaScript

Try Catch Finally is very similar to Try Catch block and the only difference being finally will be executed regardless of Try was executed or Catch was executed
try{
}
catch
{
}
finally{
}

Example 1 : Usage of Try Catch Finally
<script type="text/javascript">
try{
 VagueFunction()
 alert('I guess you do exist')
}
catch(e){
 alert('An error has occurred: '+e.message)
}
finally{
 alert('I am alerted regardless of the outcome above')
}
</script>