fai cosi'

function invertString( str )
{
var str2 ="";
for(var i=str.length-1; i>=0 ; i--)
str2 += str.charAt(i) ;

return str2 ;


}