mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
JS(ql): support optional chaining
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
(function(){
|
||||
var a = null;
|
||||
a();
|
||||
a?.();
|
||||
|
||||
var b = undefined;
|
||||
b();
|
||||
b?.();
|
||||
});
|
||||
// semmle-extractor-options: --experimental
|
||||
Reference in New Issue
Block a user