結果 : loop through letters in string javascript