mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
17 lines
220 B
JavaScript
17 lines
220 B
JavaScript
function f() {
|
|
let foo;
|
|
if (bar) foo ||= [];
|
|
if (foo);
|
|
};
|
|
|
|
function g() {
|
|
let foo;
|
|
if (bar) foo ??= [];
|
|
if (foo);
|
|
};
|
|
|
|
function h() {
|
|
let foo = true;
|
|
if (bar) foo &&= false;
|
|
if (foo);
|
|
} |