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