javascript-deobfuscator
javascript-deobfuscator copied to clipboard
[Bug] Handle separated declaration and assignment
var foo;
foo = [42];
console.log(foo[0]);
should be handled identically with
var foo = [42];
console.log(foo[0]);
and be deobfuscated to
console.log(42);
It's a little more complicated to handle these cases, but yes would be nice to have.