mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-06-03 00:31:01 +02:00
- 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
15 lines
181 B
JavaScript
15 lines
181 B
JavaScript
let a = 1;
|
|
let b = a, c = 4;
|
|
let d = null && sideEffect();
|
|
let e = null || sideEffect();
|
|
let f = 5;
|
|
let g = 6;
|
|
|
|
use(c);
|
|
|
|
if (PDFJSDev.test('TRUE')) {
|
|
use(f);
|
|
} else {
|
|
use(g);
|
|
}
|