starlight icon indicating copy to clipboard operation
starlight copied to clipboard

Try Catch Finally

Open jameslahm opened this issue 4 years ago • 0 comments

This issue was used to track all problems about the try-catch finally statement problem.

Known Issues: #7 Pr: #60

Known Problems:

  • throw in catch clause
try {
} catch {
  throw 123;
} finally {
}
  • throw in a inner function
try {
} catch {
  ThrowErrorFunc()
} finally {
}
  • return in try clause
try {
 return 1
} catch {
} finally {
}
  • return in catch clause
try {
} catch {
  return 1
} finally {
}

jameslahm avatar Jul 21 '21 03:07 jameslahm