Nicolò Ribaudo 2691868904 Remove unused variables with the Babel plugin
- functions were already removed
- variables can be removed when their initializer does not have side effects
- classes can be removed when they have no static blocks

Fixes #21337
2026-05-26 16:35:57 +02:00

20 lines
426 B
JavaScript

var a = true;
var b = false;
var c = true && '1';
var d = false && '0';
var e = true || '1';
var f = false || '0';
var g = true ? '1' : '0';
var h = false ? '1' : '0';
var i = 'test' === 'test';
var j = 'test' !== 'test';
var k = 'test' === 'test2';
var l = 'test' !== 'test2';
var m = '1' === true;
var n = !true;
var o = !false;
var p = null && 1;
var q = null || 1;
use(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q);