• + 0 comments

    function getLetters(s){ let letter; switch(true){ case /[aeiou]/i.test(s[0]): return letter = "A"; case /[bcdfg]/i.test(s[0]): return letter = "B"; case /[hjklm]/i.test(s[0]): return letter = "C"; case /[aeiou]/i.test(s[0]): return letter = "A";