結果 : javascript count occurrences of char in string