javascript-deobfuscator icon indicating copy to clipboard operation
javascript-deobfuscator copied to clipboard

[Feature Request] Remove intermediary variables (or constants)

Open Semnodime opened this issue 2 years ago • 1 comments

function foo() {
  const x = 0;
  return x;
}

to

function foo()
  return 0;
}

Semnodime avatar May 22 '23 15:05 Semnodime

Yes, a constant propagation pass would be nice.

ben-sb avatar Jan 26 '25 18:01 ben-sb