Auto indent JavaScript code / unobfuscator

by Mohan 2012-09-20 23:16:49



________________________________________
Auto indent JavaScript code / unobfuscator
Spidermonkey JavaScript engine only
function foo() { function bar(){};var i=0;for(;i<10;++i) bar(i) }
Print(foo.toSource(2));
prints:
function foo() {

function bar() {
}

var i = 0;
for (; i < 10; ++i) {
bar(i);
}
}
________________________________________


762
like
0
dislike
0
mail
flag

You must LOGIN to add comments