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

Replace comma expressions by semicolons

Open Zezombye opened this issue 1 year ago • 1 comments

For example:

var i, n, r, Ya;
(Ya = [2, 0]), (r = e.length), (n = r << Ya[0]);

Should become:

var i, n, r, Ya;
Ya = [2, 0];
r = e.length;
n = r << Ya[0];

Or ideally:

var i;
var Ya = [2, 0];
var r = e.length;
var n = r << Ya[0];

Zezombye avatar Sep 08 '24 08:09 Zezombye

That's a good suggestion, I'll add it to the to-do list. In the meantime my other deobfuscator (online version) already has this feature implemented.

ben-sb avatar Sep 10 '24 09:09 ben-sb