2017-09-19 16:04:11 -04: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");
}