JavaScript code beautifier (un-minifier)

by Mohan 2012-09-20 23:14:21



JavaScript code beautifier (un-minifier)
function foo() {var a;var b=[1,2,3];var c={x:{y:1}};function bar(){return 1}}
Print( foo.toSource(1) );
prints:
function foo() {
var a;
var b = [1, 2, 3];
var c = {x: {y: 1}};

function bar() {
return 1;
}
}
________________________________________


545
like
0
dislike
0
mail
flag

You must LOGIN to add comments