Baheeg Training and Test Exam

Javascript Expert level

Score: 0 / 0 answered

Progress: 0 of 799 qs

time elap: 00:00

Question 1: What is the output of the following code snippet?

try {
  try {
    throw new Error('Inner error');
  } finally {
    console.log('Inner finally');
  }
} catch (e) {
  console.log(e.message);
} finally {
  console.log('Outer finally');
}