mirror of
https://github.com/github/codeql.git
synced 2025-12-18 18:10:39 +01:00
9 lines
145 B
JavaScript
9 lines
145 B
JavaScript
function f(g) {
|
|
try {
|
|
g();
|
|
} catch (e if e instanceof Error) {
|
|
console.log("error!");
|
|
} catch (e) {
|
|
console.log("something else!");
|
|
}
|
|
} |