8 lines
141 B
JavaScript
8 lines
141 B
JavaScript
try {
|
|
throw 0;
|
|
} catch (err) {
|
|
console.log("it failed, but this code executes");
|
|
} finally {
|
|
console.log("this code also executes");
|
|
}
|