Skip to content
RED SAGSkills
medium10 pts · first answer countsjavascripterrors

Return value with finally

What does this function return?

function f() {
  try {
    return "try"
  } finally {
    console.log("cleanup")
  }
}
console.log(f())
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions