結果 : loop through words in string javascript