mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 17:15:11 +03:00
c6b22c57f8
Co-authored-by: Fábio Santos <fabiosantosart@gmail.com>
30 lines
546 B
JavaScript
30 lines
546 B
JavaScript
var a;
|
|
a = true;
|
|
a = 1;
|
|
a = 6;
|
|
a = true;
|
|
a = "string";
|
|
a = "5";
|
|
a = -4.5;
|
|
a = 6;
|
|
a = condition;
|
|
a = console.log("b");
|
|
a = console.log("c");
|
|
a = 2 * condition;
|
|
a = condition + 3;
|
|
a = 4 - condition;
|
|
a = condition / 5;
|
|
a = 6 % condition;
|
|
a = 7;
|
|
a = console.log(null);
|
|
a = console.log(condition && null);
|
|
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 || void 0;
|
|
a = condition + 3 || null;
|