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

8 lines
146 B
JavaScript

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