mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
63 lines
445 B
JavaScript
63 lines
445 B
JavaScript
"a";
|
|
"b" + "c";
|
|
"d" + "e" + "f";
|
|
`g` + `h`;
|
|
|
|
1;
|
|
|
|
false;
|
|
true;
|
|
|
|
-1;
|
|
!0;
|
|
|
|
null;
|
|
|
|
undefined;
|
|
|
|
function f(){};
|
|
({});
|
|
/x/;
|
|
|
|
f();
|
|
|
|
!`${"x"}`;
|
|
|
|
!!0;
|
|
!!``;
|
|
|
|
void 0;
|
|
void f();
|
|
|
|
NaN;
|
|
Infinity;
|
|
|
|
1 + 2 + 3;
|
|
|
|
(1);
|
|
|
|
f, 1;
|
|
1, f;
|
|
|
|
1? 2: 3;
|
|
f? 2: 3;
|
|
1? f: 3;
|
|
1? 2: f;
|
|
|
|
x = 1;
|
|
x.p = 1;
|
|
x += 1;
|
|
x += x;
|
|
|
|
x = 1_000;
|
|
x = 1_000_123;
|
|
x = 1_000_000_000;
|
|
x = 101_475_938.38;
|
|
x = 123_00;
|
|
x = 12_300;
|
|
x = 12345_00;
|
|
x = 123_4500;
|
|
x = 1_234_500;
|
|
x = 1e1_00;
|
|
x = 0xaa_bb_cc;
|