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
231 B
JavaScript

var a = false;
var b = true;
var c = true;
var d = false;
var e = true;
var f = "text";
var g = {
obj: {
i: 1
},
j: 2
};
var i = '0';
var j = {
i: 1
};
var k = false;
var l = true;
use(a, b, c, d, e, f, g, i, j, k, l);