What will happen when the following code is executed?
try {
console.log('Try block');
throw new Error('Custom error');
} finally {
console.log('Finally block executed');
}
What will happen when the following code is executed?
try {
console.log('Try block');
throw new Error('Custom error');
} finally {
console.log('Finally block executed');
}