Count occurrences of each character in a string using Javascript ...

Count occurrences of each character in a string using Javascript ...