mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
c6b22c57f8
Co-authored-by: Fábio Santos <fabiosantosart@gmail.com>
28 lines
707 B
JavaScript
28 lines
707 B
JavaScript
var a;
|
|
a = true && condition;
|
|
a = 1 && console.log("a");
|
|
a = 2 * 3 && 2 * condition;
|
|
a = 5 == 5 && condition + 3;
|
|
a = "string" && 4 - condition;
|
|
a = 5 + "" && condition / 5;
|
|
a = -4.5 && 6 << condition;
|
|
a = 6 && 7;
|
|
a = false && condition;
|
|
a = NaN && console.log("b");
|
|
a = 0 && console.log("c");
|
|
a = undefined && 2 * condition;
|
|
a = null && condition + 3;
|
|
a = 2 * 3 - 6 && 4 - condition;
|
|
a = 10 == 7 && condition / 5;
|
|
a = !"string" && 6 % condition;
|
|
a = 0 && 7;
|
|
a = condition && true;
|
|
a = console.log("a") && 2;
|
|
a = 4 - condition && "string";
|
|
a = 6 << condition && -4.5;
|
|
a = condition && false;
|
|
a = console.log("b") && NaN;
|
|
a = console.log("c") && 0;
|
|
a = 2 * condition && undefined;
|
|
a = condition + 3 && null;
|