Menu

#2 not auto-shortening on variable functions

open
nobody
None
5
2007-11-07
2007-11-07
XoraX
No

a simple example :

stdin :
var test = function (test){
var test2 = 'test';
test += '-'+test2;
return test;
}

stdout :
var test = (function (test) {var test2 = "test";test += "-" + test2;return test;});

run perfect if stdin :
function test (test){
var test2 = 'test';
test += '-'+test2;
return test;
}

stdout :
function test(b) {var a = "test";b += "-" + a;return b;}

sorry I'm not a hard C coder :)

best regard

Discussion


Log in to post a comment.