Files
ValueScript/inputs/passing/exceptions/tryFinally.ts
2023-05-31 12:18:32 +10:00

10 lines
174 B
TypeScript

//! test_output(E: Error{"message":"Something went wrong"})
export default function () {
try {
throw new Error("Something went wrong");
} finally {
1 + 1;
}
}