js multiple try catch

JavaScript
try
{ 
    // code that throws an exception
}
catch (Exception ex)
{
   // handle
}
try
{ 
    // this code will execute unless the previous catch block 
    // throws an exception (re-throw or new exception) 
}
catch (Exception ex)
{
   // handle
}
Source

Also in JavaScript: