swc/ecmascript/codegen/tests/test262/b3e783194b210cc3.js

32 lines
600 B
JavaScript
Raw Normal View History

var a;
// compress these
a = true || b;
2020-07-28 15:56:19 +03:00
a = 1 || c.d("a");
a = 2 * 3 || 4 * b;
a = 5 == 6 || b + 7;
2020-07-28 15:56:19 +03:00
a = "e" || 8 - b;
a = 9 + "" || b / 10;
a = -4.5 || 11 << b;
a = 12 || 13;
a = false || b;
2020-07-28 15:56:19 +03:00
a = 14 || c.d("f");
a = NaN || c.d("g");
a = h || 15 * b;
a = null || b + 16;
a = 17 * 18 - 19 || 20 - b;
a = 21 == 22 || b / 23;
2020-07-28 15:56:19 +03:00
a = !"e" || 24 % b;
a = null || 25;
a = c.d(h && b || null);
a = c.d(h || b && null);
// don't compress these
a = b || true;
2020-07-28 15:56:19 +03:00
a = c.d("a") || 26;
a = 27 - b || "e";
a = 28 << b || -4.5;
a = b || false;
2020-07-28 15:56:19 +03:00
a = c.d("f") || NaN;
a = c.d("g") || 29;
a = 30 * b || h;
a = b + 31 || null;