8 lines
146 B
JavaScript
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");
|
|
}
|