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

24 lines
273 B
TypeScript

//! test_output("this thing")
export default function () {
while (true) {
try {
try {
return "this thing";
} finally {
1 + 1;
}
} finally {
2 + 2;
}
break;
}
try {
} finally {
}
return "that thing";
}