mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
11 lines
212 B
JavaScript
11 lines
212 B
JavaScript
function f(g) {
|
|
try {
|
|
g();
|
|
} catch (e if e instanceof Error) {
|
|
console.log("error!");
|
|
} catch (e) {
|
|
console.log("something else!");
|
|
}
|
|
}
|
|
|
|
//semmle-extractor-options: --experimental --extract-program-text
|