Files
ValueScript/inputs/passing/exceptions/nestedFinallyReturn.ts
2023-03-23 17:17:27 +11:00

24 lines
272 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";
}