2018-01-09 15:36:42 +01:00

8 lines
135 B
JavaScript

try {
throw 0;
} catch {
console.log("it failed, but this code executes");
} finally {
console.log("this code also executes");
}