for of

    [코드 워즈] 6. Vowel Count

    문제 아규먼트로 주어지는 문자에서 모음 숫자 세기. (영문을 기준으로하며 a, e, i, o, u만 모음으로 취급) 문제 주소: www.codewars.com/kata/54ff3102c1bad923760001f3/train/javascript Codewars: Achieve mastery through challenge Codewars is where developers achieve code mastery through challenge. Train on kata in the dojo and reach your highest potential. www.codewars.com 내 풀이 function getCount(str) { let vowelsCount = 0; const vowels = ['a', ..