Remova o Char 4M JS especial e junte -se
function myFunction(a, b) {
const str = a.concat(b.split("").reverse().join("")).replaceAll("%", "");
return str[0].toUpperCase() + str.slice(1);}
Sultan Mahmud