why will this not return" eightway".
Can’t seem to see much wrong.
function translatePigLatin(str) {
var vowel = /[aioue]/;
var suffix = "way";
if(str.charAt(0)==vowel){
var str2 = str+suffix;
console.log(suffix);
return str2;
}
}
translatePigLatin("eight");